Open spapas opened 2 years ago
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.
How about a random strong password? Would this work?
:crypto.strong_rand_bytes(32) |> Bcrypt.hash_pwd_salt()
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.