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

Merge branch 'feature/public-login-redirect' of git://github.com/Xiphoseer/BookStack into Xiphoseer-feature/public-login-redirect

This commit is contained in:
Dan Brown
2020-03-14 17:46:30 +00:00
2 changed files with 5 additions and 1 deletions

View File

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