Skip to content

Make sure user exist in upload torrent endpoint#234

Merged
josecelano merged 2 commits intotorrust:developfrom
josecelano:issue-230-authentication-return-user-not-found
Jul 3, 2023
Merged

Make sure user exist in upload torrent endpoint#234
josecelano merged 2 commits intotorrust:developfrom
josecelano:issue-230-authentication-return-user-not-found

Conversation

@josecelano
Copy link
Copy Markdown
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
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