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

Make sure user exist in upload torrent endpoint #234

Merged
merged 2 commits into from
Jul 3, 2023
Merged

Make sure user exist in upload torrent endpoint #234

merged 2 commits into from
Jul 3, 2023

Conversation

josecelano
Copy link
Member

We get the user ID from the Json Web Token, but that does not mean the user actually exists. The session could be valid, but the user could have been removed from the database.

Fixing cargo fmt and clipply errors and warnings
@josecelano josecelano linked an issue Jul 3, 2023 that may be closed by this pull request
We get the user ID from the Json Web Token, but that does not mean the user actually exists. The session could be valid, but the user could have been removed from the database.
@josecelano josecelano marked this pull request as ready for review July 3, 2023 14:20
@josecelano josecelano merged commit 277a905 into torrust:develop Jul 3, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Check that the user exist for endpoints requiring authenticated users
1 participant