summaryrefslogtreecommitdiff
path: root/app/controllers/confirmations_controller.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-01-01 23:43:16 +0100
committerJacopo <beschi.jacopo@gmail.com>2018-01-18 14:32:44 +0100
commit269594bf2277e14d8cd189cdbbeeee7db8ed23d7 (patch)
treebe62b90e2beee0166a1af52e754aefd1131430b7 /app/controllers/confirmations_controller.rb
parent50a649530a53a04d2044f9e4c5502586a7ed0c59 (diff)
downloadgitlab-ce-269594bf2277e14d8cd189cdbbeeee7db8ed23d7.tar.gz
Fix Shows signin tab after new user email confirmation
When a new user confirm his email the signin tab is correctly shown.
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r--app/controllers/confirmations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb
index bc0948cd3fb..6d9c38d9581 100644
--- a/app/controllers/confirmations_controller.rb
+++ b/app/controllers/confirmations_controller.rb
@@ -17,7 +17,7 @@ class ConfirmationsController < Devise::ConfirmationsController
else
Gitlab::AppLogger.info("Email Confirmed: username=#{resource.username} email=#{resource.email} ip=#{request.remote_ip}")
flash[:notice] += " Please sign in."
- new_session_path(:user)
+ new_session_path(:user, anchor: 'login-pane')
end
end