mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-03 08:13:14 +08:00
Started refactor of URL system to better extend Laravel
This commit is contained in:
@ -106,9 +106,7 @@ class LoginController extends Controller
|
||||
$this->ldapService->syncGroups($user, $request->get($this->username()));
|
||||
}
|
||||
|
||||
$path = session()->pull('url.intended', '/');
|
||||
$path = baseUrl($path, true);
|
||||
return redirect($path);
|
||||
return redirect()->intended('/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user