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

Implemented authenticate_user function #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martinzh
Copy link

Hi!
We've just implemented the authenticate_user function that checks if the user is in the database and if the provided password is correct.

Hope you can take a look at it 👾

Thanks!

Copy link

@jakobj jakobj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thank you for your contribution! 🎉

i'm just wondering about the organization of the code: you seem to have moved all functionality into the authenticate function. wouldn't it be nicer to keep the code modular, and stick to the api suggested here?

@martinzh
Copy link
Author

Sure, we'll rewrite it to keep the modular structure of the API.

Thanks for your comment!

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

Successfully merging this pull request may close these issues.

2 participants