Fixes issue if the session has an account id, but the account has been closed, as closing the account deletes all active sessions. To be extra sure to avoid the error, also check current_account instead of rodauth.logged_in? in the root route.
29 KiB
29 KiB