summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-12-17 00:58:27 +0100
committerjomo <github@jomo.tv>2015-12-17 00:58:27 +0100
commit756d0d10473ddf6528b0848a5d7a92524bb66317 (patch)
treeb9eb091036914712f33879d4d33fe81225103186 /db
parentbf91ef766c49fdd185a5d7e4477789085c3c0578 (diff)
bcrypt has a 72 character limit :'(
56 bytes limit of eksblowfish, to be exact
Diffstat (limited to 'db')
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 4d19adb..780ddb5 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -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