We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3509db1 commit f717df2Copy full SHA for f717df2
src/AuthenticatesUsersWith2FA.php
@@ -77,7 +77,7 @@ public function verifyToken(Request $request)
77
$secret = getenv('HMAC_SECRET');
78
$signature = hash_hmac('sha256', $this->user->id, $secret);
79
if ($validator->fails()) {
80
- return redirect('verify_2fa?signature=' . $signature)
+ return redirect(config('2fa-config.verify_2fa') . '?signature=' . $signature)
81
->withErrors($validator)
82
->withInput();
83
}
0 commit comments