Log access attempt after versions are applied

This commit is contained in:
Sam Georges 2014-08-06 20:19:03 +10:00
parent 268f693d81
commit b80502addb

View File

@ -74,12 +74,12 @@ class Auth extends Controller
'password' => post('password')
], true);
// Log the sign in event
AccessLog::add($user);
// Load version updates
VersionManager::instance()->updateAll();
// Log the sign in event
AccessLog::add($user);
// Redirect to the intended page after successful sign in
return Redirect::intended(Backend::url('backend'));
}