Show the correct reconfirm link for OpenID login attempts
This commit is contained in:
parent
d38e476fa6
commit
703c1a83e6
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ private
|
||||||
if user = User.find_by_openid_url(identity_url)
|
if user = User.find_by_openid_url(identity_url)
|
||||||
case user.status
|
case user.status
|
||||||
when "pending" then
|
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
|
when "active", "confirmed" then
|
||||||
successful_login(user)
|
successful_login(user)
|
||||||
when "suspended" then
|
when "suspended" then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue