Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit a6dc55c

Browse files
committed
Merge branch 'master' into 1265_hide_password_on_cmdline
2 parents 8c39917 + b01000c commit a6dc55c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

db/seeds.rb

+2
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ def generate_objs(method, obj, n)
352352
if ENV['CAS_AUTH']
353353
prompt_field(u, :cas_login)
354354
u.username = u.cas_login
355+
u.save
355356
else
356357
u.username = u.email
357358
u.password = 'passw0rd'
@@ -369,6 +370,7 @@ def generate_objs(method, obj, n)
369370
if ENV['CAS_AUTH']
370371
prompt_field(u, :cas_login)
371372
u.username = u.cas_login
373+
u.save
372374
else
373375
u.username = u.email
374376
u.save

0 commit comments

Comments
 (0)