use BookStack\Auth\Access\Saml2Service;
use BookStack\Http\Controllers\Controller;
-use Illuminate\Http\Request;
class Saml2Controller extends Controller
{
{
parent::__construct();
$this->samlService = $samlService;
+ $this->middleware('guard:saml2');
}
/**
return redirect('/login');
}
- session()->put('last_login_type', 'saml2');
return redirect()->intended();
}