bcrypt has a 72 character limit :'(

56 bytes limit of eksblowfish, to be exact
This commit is contained in:
jomo
2015-12-17 00:58:27 +01:00
parent bf91ef766c
commit 756d0d1047
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ Role.create!([
{name: "superadmin", value: 500, color: "#d22"}
])
userpw = SecureRandom.hex(64)
userpw = SecureRandom.hex(36)
# fallback profile for deleted users