]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Move param-based map configuration to client
[rails.git] / app / controllers / user_controller.rb
index 620ab5090a64b8d17f4808462e7fd610f2a21073..bfb0ef83b623fff7326430ba91406ee89301bbf7 100644 (file)
@@ -259,10 +259,6 @@ class UserController < ApplicationController
       else
         password_authentication(params[:username], params[:password])
       end
-    elsif params[:notice]
-      flash.now[:notice] = t "user.login.notice_#{params[:notice]}"
-    elsif flash[:notice].nil?
-      flash.now[:notice] =  t 'user.login.notice'
     end
   end