mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Don't block backend connection when a plugin migration triggers exception (#3188)
This commit is contained in:
parent
d292eeb85e
commit
dc16902fca
@ -85,8 +85,13 @@ class Auth extends Controller
|
||||
'password' => post('password')
|
||||
], $remember);
|
||||
|
||||
// Load version updates
|
||||
UpdateManager::instance()->update();
|
||||
try {
|
||||
// Load version updates
|
||||
UpdateManager::instance()->update();
|
||||
}
|
||||
catch (Exception $ex) {
|
||||
Flash::error($ex->getMessage());
|
||||
}
|
||||
|
||||
// Log the sign in event
|
||||
AccessLog::add($user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user