To many redirect on 2nd attempt
ruban-s opened this issue · 1 comments
ruban-s commented
ruban-s commented
To verify 2fa , I'm using separate controller function ,
**Route:**
Route::post('/2faVerify','AuthController@verifyredirect')->name('2faVerify')->middleware('2fa');
**Controller Function:**
public function verifyredirect(){
return redirect(redirect()->intended('admin/dashboard')->getTargetUrl());
}
Used Like this.