mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-11-23 17:54:55 +09:00
Hash fixture passwords at minimum bcrypt cost
The fixture calls BCrypt directly, bypassing Rails' test configuration.
This commit is contained in:
1 parent
90b330024d
commit
ae149fca92
1 file changed
+1
-1
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
<% password_digest = BCrypt::Password.create("secret123456") %>
|
||||
<% password_digest = BCrypt::Password.create("secret123456", cost: BCrypt::Engine::MIN_COST) %>
|
||||
|
||||
david:
|
||||
name: David
|
||||
|
||||
Reference in new issue
Block a user