You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If logged in as an administrator; if you disable the account currently logged in with, it breaks the program without recovery.
To Reproduce
Steps to reproduce the behavior:
login as admin
go to user management
edit admin user
"Deactive" admin account, select update
Expected behavior
A clear and concise description of what you expected to happen.
admin account should be disabled and user is logged out
Desktop (please complete the following information):
OS: Mac OS
Browser: Safari and Chrome
Additional context
Recovering from the issue requires a git reset --hard to the previous state. Unclear why the problem occurs. When attempting to login with admin again, the logs will show that the user is authenticated but the program is possibly broken somewhere around the users/home.php line 11 if (!$session->isUserLoggedIn(true)) { redirect('index.php', false);} as it constantly redirects to home.php
edit: After a bit of digging this issue might have something to do with the session cookies for the browser. I can't seem to find a reliable fix. Sometimes a git reset works, sometimes a database table flush and rebuild works.
The text was updated successfully, but these errors were encountered:
Describe the bug
If logged in as an administrator; if you disable the account currently logged in with, it breaks the program without recovery.
To Reproduce
Steps to reproduce the behavior:
login as admin
go to user management
edit admin user
"Deactive" admin account, select update
Expected behavior
A clear and concise description of what you expected to happen.
admin account should be disabled and user is logged out
Desktop (please complete the following information):
Additional context
Recovering from the issue requires a git reset --hard to the previous state. Unclear why the problem occurs. When attempting to login with admin again, the logs will show that the user is authenticated but the program is possibly broken somewhere around the users/home.php line 11 if (!$session->isUserLoggedIn(true)) { redirect('index.php', false);} as it constantly redirects to home.php
edit: After a bit of digging this issue might have something to do with the session cookies for the browser. I can't seem to find a reliable fix. Sometimes a git reset works, sometimes a database table flush and rebuild works.
The text was updated successfully, but these errors were encountered: