Skip to content
Discussion options

You must be logged in to vote

short answer

sqlpage.hash_password is meant to be called only once at the creation of an user account. Passwords are salted with a random string. This makes weak passwords harder to crack even if an attacker gets access to the hash.

The authentication component is meant to check the password when the user logs in.

details

official documentation:

and related examples:

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Aesth
Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lovasoa
Comment options

@lovasoa
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants