mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 23:56:56 +08:00
Simplified guard names and rolled out guard route checks
- Included tests to cover for LDAP and SAML - Updated wording for external auth id option. - Updated 'assertPermissionError' test case to be usable in BrowserKitTests
This commit is contained in:
@ -210,7 +210,9 @@ Route::group(['middleware' => 'auth'], function () {
|
||||
// Social auth routes
|
||||
Route::get('/login/service/{socialDriver}', 'Auth\SocialController@getSocialLogin');
|
||||
Route::get('/login/service/{socialDriver}/callback', 'Auth\SocialController@socialCallback');
|
||||
Route::get('/login/service/{socialDriver}/detach', 'Auth\SocialController@detachSocialAccount');
|
||||
Route::group(['middleware' => 'auth'], function () {
|
||||
Route::get('/login/service/{socialDriver}/detach', 'Auth\SocialController@detachSocialAccount');
|
||||
});
|
||||
Route::get('/register/service/{socialDriver}', 'Auth\SocialController@socialRegister');
|
||||
|
||||
// Login/Logout routes
|
||||
|
Reference in New Issue
Block a user