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:
@ -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,
|
||||
|
Reference in New Issue
Block a user