fix totp
This commit is contained in:
parent
383c6f41e2
commit
c5252f9fc4
|
@ -202,7 +202,7 @@ class User implements UserInterface, TwoFactorInterface, EntityInterface
|
|||
|
||||
public function getGoogleAuthenticatorUsername(): string
|
||||
{
|
||||
return $this->getTotpAuthenticationUsername();
|
||||
return $this->getEmail();
|
||||
}
|
||||
|
||||
public function getGoogleAuthenticatorSecret(): ?string
|
||||
|
|
Loading…
Reference in New Issue