mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 00:29:48 +03:00
Undefined variable: currentUser (View: /var/www/bookstack/resources/views/partials/sort.blade.php) #2281
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @col-panic on GitHub (Jun 8, 2021).
Describe the bug
After updating to Bookstack 21.05.1 with a SAML login, the login does not work anymore, showing
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login should work
Screenshots

Your Configuration (please complete the following information):
Additional context
Keycloak SAML Login
@ssddanbrown commented on GitHub (Jun 8, 2021):
Hi @col-panic,
I think the code you're using may be outdated, That line has not used that variable since v21.04.
Here's the code as per the v21.05.1 release as an example:
https://github.com/BookStackApp/BookStack/blob/v21.05.1/resources/views/partials/sort.blade.php#L7
@col-panic commented on GitHub (Jun 9, 2021):
I see, that was an error on our site! Thank you for checking!