This commit is contained in:
Simon Vieille 2021-03-19 20:38:20 +01:00
parent 383c6f41e2
commit c5252f9fc4
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class User implements UserInterface, TwoFactorInterface, EntityInterface
public function getGoogleAuthenticatorUsername(): string
{
return $this->getTotpAuthenticationUsername();
return $this->getEmail();
}
public function getGoogleAuthenticatorSecret(): ?string