diff --git a/modules/backend/controllers/Auth.php b/modules/backend/controllers/Auth.php index 47626a62a..105f2a6cf 100644 --- a/modules/backend/controllers/Auth.php +++ b/modules/backend/controllers/Auth.php @@ -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')); }