Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/password.rake')
-rw-r--r--lib/tasks/gitlab/password.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/password.rake b/lib/tasks/gitlab/password.rake
index 02c28578a2a..a7b7aafc0c9 100644
--- a/lib/tasks/gitlab/password.rake
+++ b/lib/tasks/gitlab/password.rake
@@ -14,6 +14,7 @@ namespace :gitlab do
user.password = password
user.password_confirmation = password_confirm
+ user.password_automatically_set = false
user.send_only_admin_changed_your_password_notification!
unless user.save