Closed frcroth closed 3 years ago
Also this authentication method requires the user to know the id of the account which is weird. Could be saved by making username unique. That way you could just post a username password pair to users/auth and authenticate.
Also this authentication method requires the user to know the id of the account which is weird. Could be saved by making username unique. That way you could just post a username password pair to users/auth and authenticate.
I like making the username unique.
I have not marked this as ready, because the auth_token is not implemented, but I think a review would be beneficial, as a lot of stuff has changed @sirkrypt0
I have not marked this as ready, because the auth_token is not implemented, but I think a review would be beneficial, as a lot of stuff has changed @sirkrypt0
I will do so. We can also merge this already and implement auth tokens in another mr.
Ok will merge after implementing your suggestions
@sirkrypt0 I wanted to test password verification and wrote a one line function for it. Then clippy was angry because the function wasn't used. So I implemented some basic authentication.