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

Password hashing #38

Open
torbengb opened this issue Sep 17, 2021 · 2 comments
Open

Password hashing #38

torbengb opened this issue Sep 17, 2021 · 2 comments
Assignees
Labels
2prio Medium Do when there are no prio1 issues. functionality New feature or request object users Issues related to users.

Comments

@torbengb
Copy link
Owner

torbengb commented Sep 17, 2021

Safe password hashing
https://www.php.net/manual/en/faq.passwords.php

Naitive php api
https://www.php.net/manual/en/book.password.php

concrete examples
https://alexwebdevelop.com/php-password-hashing/

@torbengb torbengb added 2prio Medium Do when there are no prio1 issues. functionality New feature or request object users Issues related to users. labels Sep 17, 2021
@torbengb torbengb self-assigned this Sep 17, 2021
@torbengb
Copy link
Owner Author

Registration form now contains password field.
Password is salted, hashed, then stored in DB.

TODO: replace login dropdown with actual login functionality (including password_verify and auto-updating hash if needed; see examples above).

@torbengb
Copy link
Owner Author


var_dump(password_verify($password, $hashed_password));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2prio Medium Do when there are no prio1 issues. functionality New feature or request object users Issues related to users.
Projects
None yet
Development

No branches or pull requests

1 participant