Skip to content

Commit f717df2

Browse files
committed
error_code
1 parent 3509db1 commit f717df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AuthenticatesUsersWith2FA.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function verifyToken(Request $request)
7777
$secret = getenv('HMAC_SECRET');
7878
$signature = hash_hmac('sha256', $this->user->id, $secret);
7979
if ($validator->fails()) {
80-
return redirect('verify_2fa?signature=' . $signature)
80+
return redirect(config('2fa-config.verify_2fa') . '?signature=' . $signature)
8181
->withErrors($validator)
8282
->withInput();
8383
}

0 commit comments

Comments
 (0)