mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update AccountController, fix 2FA backup code bug
This commit is contained in:
parent
a62a688da9
commit
a231b3c556
1 changed files with 19 additions and 20 deletions
|
@ -525,10 +525,9 @@ class AccountController extends Controller
|
|||
$user->save();
|
||||
$request->session()->push('2fa.session.active', true);
|
||||
return true;
|
||||
} else {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue