Remove the "We are changing the license" flash on the login page

This commit is contained in:
Gnonthgol 2012-09-14 13:49:55 +02:00 committed by Tom Hughes
parent 5131a0cb16
commit fcddf920a3
2 changed files with 0 additions and 6 deletions

View 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