Shift to consistent, fluent response chains

This commit is contained in:
Laravel Shift
2019-05-09 00:05:17 +00:00
parent 97e88dd68b
commit 4853105815
21 changed files with 81 additions and 81 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class TwoStepAuth
if (config('auth.TwoStepEnabled') && $user->twostep == 1) {
if ($this->twoStepVerification($request) !== true) {
return redirect('twostep/needed');
return redirect()->to('twostep/needed');
}
}