Fix variables

This commit is contained in:
James Cole
2026-07-09 06:22:42 +02:00
parent 3b32c61ffe
commit 0524afaf93
77 changed files with 198 additions and 179 deletions
@@ -232,7 +232,7 @@ final class MfaController extends Controller
$user = auth()->user();
// verify password.
$password = $request->get('password');
$password = $request->input('password');
if (!auth()->validate(['email' => $user->email, 'password' => $password])) {
session()->flash('error', 'Bad user pw, no MFA for you!');
@@ -255,7 +255,7 @@ final class MfaController extends Controller
Preferences::mark();
// also save the code so replay attack is prevented.
$mfaCode = $request->get('code');
$mfaCode = $request->input('code');
$this->addToMFAHistory($mfaCode);
// make sure MFA is logged out.