Added the possibility to delete a U2F key.

This commit is contained in:
Jan Böhmer 2019-12-29 16:20:09 +01:00
parent 069293a843
commit 3e56352688
7 changed files with 89 additions and 24 deletions

View file

@ -37,7 +37,7 @@ class BackupCodeManager
*/
public function disableBackupCodesIfUnused(User $user)
{
if($user->isU2FAuthEnabled() || $user->isGoogleAuthenticatorEnabled()) {
if($user->isGoogleAuthenticatorEnabled()) {
return;
}