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:
authorVinnie Okada <vokada@mrvinn.com>2015-05-14 06:57:16 +0300
committerVinnie Okada <vokada@mrvinn.com>2015-05-16 23:03:18 +0300
commitaf428b12598f06073327bc63d75d9c358c95067a (patch)
treee82cb1b3cb69652dfc4746102db27e20a5c4b01b /app/controllers/passwords_controller.rb
parentc68c23210bdf9f0d7212fa55e7bef71ac0f87bcf (diff)
Fill in email on the new password form
Diffstat (limited to 'app/controllers/passwords_controller.rb')
-rw-r--r--app/controllers/passwords_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/passwords_controller.rb b/app/controllers/passwords_controller.rb
index fbb9d371a79..145f27b67dd 100644
--- a/app/controllers/passwords_controller.rb
+++ b/app/controllers/passwords_controller.rb
@@ -52,7 +52,7 @@ class PasswordsController < Devise::PasswordsController
unless user.reset_password_period_valid?
flash[:alert] = 'Your password reset token has expired.'
- redirect_to(new_user_password_url)
+ redirect_to(new_user_password_url(user_email: user['email']))
end
end
end