1
0
Fork 0
forked from mirror/pixelfed

Update AccountController, fix 2FA backup code bug

This commit is contained in:
Daniel Supernault 2022-11-14 01:17:41 -07:00
parent a62a688da9
commit a231b3c556
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -525,10 +525,9 @@ class AccountController extends Controller
$user->save(); $user->save();
$request->session()->push('2fa.session.active', true); $request->session()->push('2fa.session.active', true);
return true; return true;
} else { }
}
return false; return false;
}
}
} else { } else {
return false; return false;
} }