]> BookStack Code Mirror - bookstack/commit
Changed logout routes to POST instead of GET
authorDan Brown <redacted>
Sun, 14 Nov 2021 21:13:24 +0000 (21:13 +0000)
committerDan Brown <redacted>
Sun, 14 Nov 2021 21:13:24 +0000 (21:13 +0000)
commitf910738a80f918e1fdcf9f1ae4e63bce4287bd83
treebc89e70c75eca70d3234e730a5c3c191374aff9e
parentfceb4ecc07d177f9e6e88a8f95115687170b760b
Changed logout routes to POST instead of GET

As per #3047.

Also made some SAML specific fixes:
- IDP initiated login was broken due to forced default session value.
  Double checked against OneLogin lib docs that this reverted logic was fine.
- Changed how the saml login flow works to use 'withoutMiddleware' on
  the route instead of hacking out the session driver. This was due to
  the array driver (previously used for the hack) no longer being
  considered non-persistent.
app/Auth/Access/Saml2Service.php
app/Http/Controllers/Auth/Saml2Controller.php
resources/views/common/header.blade.php
routes/web.php
tests/Auth/AuthTest.php
tests/Auth/OidcTest.php
tests/Auth/Saml2Test.php