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

Change /user and /logout to not accept additional params #16

Open
jpmckinney opened this issue Nov 22, 2024 · 1 comment
Open

Change /user and /logout to not accept additional params #16

jpmckinney opened this issue Nov 22, 2024 · 1 comment

Comments

@jpmckinney
Copy link
Member

Presently, these accept /:userdir/:user and then need to compare those values against the session.

Instead, they should just use the information in the session.

To change the paths, we would need to change the frontend.

@jpmckinney
Copy link
Member Author

jpmckinney commented Nov 27, 2024

Separately, I tried to destroy or regenerate the session on login, but this commit and parents caused errors 7172d6c

Works - error was due to missing parentheses around an await.

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