diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 20:06:33 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 20:06:33 +0300 |
commit | fbf69899032ffd5e74e401aae7c94852a0722e92 (patch) | |
tree | 7c6fccb89ee4b26507a525e162c3c0a9148d434c /db/fixtures/production | |
parent | 94be73202617a5b0886c348ffbaf08947ecf8b45 (diff) | |
download | gitlab-ce-fbf69899032ffd5e74e401aae7c94852a0722e92.tar.gz |
Force admin to change password after first sign-in
Diffstat (limited to 'db/fixtures/production')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index f119694d11d..632f6107b33 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -3,7 +3,8 @@ admin = User.create( name: "Administrator", username: 'root', password: "5iveL!fe", - password_confirmation: "5iveL!fe" + password_confirmation: "5iveL!fe", + password_expires_at: Time.now ) admin.projects_limit = 10000 |