]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/Saml2Controller.php
Code cleanup, bug squashing
[bookstack] / app / Http / Controllers / Auth / Saml2Controller.php
index 8c0cb21d2821f6377dacd07b2ff20c2625c2a450..8a3bf065ed566b55062a184c76c7144797417060 100644 (file)
@@ -15,7 +15,6 @@ class Saml2Controller extends Controller
      */
     public function __construct(Saml2Service $samlService)
     {
-        parent::__construct();
         $this->samlService = $samlService;
         $this->middleware('guard:saml2');
     }
@@ -81,7 +80,6 @@ class Saml2Controller extends Controller
             return redirect('/login');
         }
 
-        session()->put('last_login_type', 'saml2');
         return redirect()->intended();
     }