Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate entrypoints with and without sessions into separate scripts #8497

Conversation

ehuelsmann
Copy link
Member

No description provided.

'login.pl' discards existing sessions and generates a new one, making the existing
one inaccessible for logging out. 'erp.pl' requires a valid connection to the database,
meaning that it requires a valid connection, but we want 'logout' to work when the
session is expired (that is: discard the error that the session is expired and report
success).
To achieve that, the 'erp.pl', 'login.pl' and new 'logout.pl' workflow scripts each
have their own middleware configuration.
@ehuelsmann ehuelsmann force-pushed the cleanup/separate-non-session-entrypoints branch from b6da525 to 018b4fd Compare November 16, 2024 10:12
@ehuelsmann ehuelsmann marked this pull request as ready for review November 16, 2024 10:55
@ehuelsmann ehuelsmann merged commit 3b52cb9 into ledgersmb:master Nov 16, 2024
24 checks passed
@ehuelsmann ehuelsmann deleted the cleanup/separate-non-session-entrypoints branch November 16, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant