mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
More progress on 2fa
This commit is contained in:
@@ -710,6 +710,10 @@ class AdminController extends AdminBaseController
|
||||
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.2FA_FAILED'), 'error');
|
||||
return true;
|
||||
}
|
||||
|
||||
$user->authenticated = true;
|
||||
$this->setRedirect($this->post['redirect']);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user