diff --git a/src/Entity/User.php b/src/Entity/User.php index 43f9167..4ab9d2c 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -202,7 +202,7 @@ class User implements UserInterface, TwoFactorInterface, EntityInterface public function getGoogleAuthenticatorUsername(): string { - return $this->getTotpAuthenticationUsername(); + return $this->getEmail(); } public function getGoogleAuthenticatorSecret(): ?string