1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Recall previous route when manually clicking login

This commit is contained in:
Daniel Seiler
2019-12-14 08:16:48 +01:00
parent 02af69ddf2
commit afa501e75b
2 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,10 @@ class LoginController extends Controller
]);
}
if ($request->has('intended')) {
redirect()->setIntendedUrl($request->get('intended'));
}
return view('auth.login', [
'socialDrivers' => $socialDrivers,
'authMethod' => $authMethod,