From: Tom Hughes Date: Fri, 27 Jul 2012 20:30:06 +0000 (+0100) Subject: Show the correct reconfirm link for OpenID login attempts X-Git-Tag: live~5477 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/703c1a83e6b3de91be977b62a291e12f6577dcf3 Show the correct reconfirm link for OpenID login attempts --- diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 6ce148763..443c433a5 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -517,7 +517,7 @@ private if user = User.find_by_openid_url(identity_url) case user.status when "pending" then - failed_login t('user.login.account not active') + failed_login t('user.login.account not active', :reconfirm => url_for(:action => 'confirm_resend', :display_name => user.display_name)) when "active", "confirmed" then successful_login(user) when "suspended" then