fix frontend login error
because of empty user object
This commit is contained in:
parent
0ae84dc415
commit
34be7ffcc8
@ -117,8 +117,6 @@ class WebauthnLogin
|
|||||||
$this->assertAuthn();
|
$this->assertAuthn();
|
||||||
|
|
||||||
// relogin, don't extract from this try block
|
// relogin, don't extract from this try block
|
||||||
/** @var User $user */
|
|
||||||
$user = d3GetOxidDIC()->get('d3ox.webauthn.'.User::class);
|
|
||||||
$usrCmp->setUser($user);
|
$usrCmp->setUser($user);
|
||||||
$this->setFrontendSession($user);
|
$this->setFrontendSession($user);
|
||||||
$usrCmp->setLoginStatus(USER_LOGIN_SUCCESS);
|
$usrCmp->setLoginStatus(USER_LOGIN_SUCCESS);
|
||||||
|
Loading…
Reference in New Issue
Block a user