X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dffde07308bded89e6a27ada0b2b811d0baecfdc..9a051df2d22dbdfe43c2014ec70ac992aa630da3:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index cd38dd940..b58a6a71c 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -154,9 +154,9 @@ class UserController < ApplicationController end return elsif User.authenticate(:username => email_or_display_name, :password => pass, :inactive => true) - @notice = "Sorry, your account is not active yet.
Please click on the link in the account confirmation email to activate your account." + @notice = I18n.t('user.login.account not active') else - @notice = "Sorry, couldn't log in with those details." + @notice = I18n.t('user.login.auth failure') end end end