bcrypt has a 72 character limit :'(
56 bytes limit of eksblowfish, to be exact
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user