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

POST /create behaves weirdly when not logged in #4

Open
pkel opened this issue Jul 7, 2023 · 0 comments
Open

POST /create behaves weirdly when not logged in #4

pkel opened this issue Jul 7, 2023 · 0 comments

Comments

@pkel
Copy link
Owner

pkel commented Jul 7, 2023

POST /create has login semantics when not logged in. This produces weird errors when the client thinks it is logged in but actually is not. E.g. when the server restarts while the client is online.

Two fixes are necessary.

  1. POST /create should redirect-get to /login when not logged in, ideally with a nice error message.
  2. Sessions should be persisted across server reboots.

Both can be done together with #3.

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

No branches or pull requests

1 participant