mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-28 00:09:56 -07:00
Can now disable MFA
This commit is contained in:
@@ -379,9 +379,9 @@ class UserRepository implements UserRepositoryInterface
|
||||
* Set MFA code.
|
||||
*
|
||||
* @param User $user
|
||||
* @param string $code
|
||||
* @param string|null $code
|
||||
*/
|
||||
public function setMFACode(User $user, string $code): void
|
||||
public function setMFACode(User $user, ?string $code): void
|
||||
{
|
||||
$user->mfa_secret = $code;
|
||||
$user->save();
|
||||
|
||||
Reference in New Issue
Block a user