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

Set unusable password #38

Closed
spapas opened this issue May 5, 2022 · 2 comments
Closed

Set unusable password #38

spapas opened this issue May 5, 2022 · 2 comments

Comments

@spapas
Copy link

spapas commented May 5, 2022

Hello! Is there a string I could save on my password field so as to have an unusable password ? I've got some users that are able to login through a different method and I don't want them to be able to login with a password.

@brettinternet
Copy link

How about a random strong password? Would this work?

:crypto.strong_rand_bytes(32)
|>  Bcrypt.hash_pwd_salt()

@riverrun
Copy link
Owner

riverrun commented Oct 4, 2024

Closing this issue. If anyone feels like reopening, please let me know.

@riverrun riverrun closed this as completed Oct 4, 2024
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

No branches or pull requests

3 participants