mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Log access attempt after versions are applied
This commit is contained in:
parent
268f693d81
commit
b80502addb
@ -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'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user