X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/945d60ea5a52d0c1d41cc63456bd6f60e547e79e..f70feedc6517b824c4201584d6298fd5790d85ba:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index cc4ae4cd8..17f52fd40 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -231,7 +231,7 @@ class UserController < ApplicationController else password_authentication(params[:username], params[:password]) end - else + elsif flash[:notice].nil? flash.now[:notice] = t 'user.login.notice' end end