fix frontend login error

because of empty user object
This commit is contained in:
Daniel Seifert 2023-01-31 23:04:25 +01:00
parent 0ae84dc415
commit 34be7ffcc8
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170

View File

@ -117,8 +117,6 @@ class WebauthnLogin
$this->assertAuthn();
// relogin, don't extract from this try block
/** @var User $user */
$user = d3GetOxidDIC()->get('d3ox.webauthn.'.User::class);
$usrCmp->setUser($user);
$this->setFrontendSession($user);
$usrCmp->setLoginStatus(USER_LOGIN_SUCCESS);