redirect to intended url

This commit is contained in:
cuneytsenturk
2018-12-03 13:45:33 +03:00
parent 2ee2376006
commit 7570918ff8
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Login extends Controller
return redirect($path);
}
return redirect('/');
return redirect()->intended('/');
}
public function destroy()