]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/OidcController.php
Fixed failing test after drawio default url change
[bookstack] / app / Http / Controllers / Auth / OidcController.php
index 571caa3c7b64e4a91c5fc967bc7c3e01503556a9..78a47e4888f55a3eb25232ae13acc7a88dce981c 100644 (file)
@@ -2,8 +2,8 @@
 
 namespace BookStack\Http\Controllers\Auth;
 
-use BookStack\Auth\Access\Oidc\OidcService;
 use BookStack\Auth\Access\Oidc\OidcException;
+use BookStack\Auth\Access\Oidc\OidcService;
 use BookStack\Http\Controllers\Controller;
 use Illuminate\Http\Request;
 
@@ -29,6 +29,7 @@ class OidcController extends Controller
             $loginDetails = $this->oidcService->login();
         } catch (OidcException $exception) {
             $this->showErrorNotification($exception->getMessage());
+
             return redirect('/login');
         }
 
@@ -56,6 +57,7 @@ class OidcController extends Controller
             $this->oidcService->processAuthorizeResponse($request->query('code'));
         } catch (OidcException $oidcException) {
             $this->showErrorNotification($oidcException->getMessage());
+
             return redirect('/login');
         }