Use normal notice system to display login banner

This commit is contained in:
Tom Hughes 2010-08-13 00:05:02 +01:00
parent 047027c95d
commit b3d92954d3
3 changed files with 2 additions and 14 deletions

View file

@ -220,6 +220,8 @@ class UserController < ApplicationController
else
flash.now[:error] = t 'user.login.auth failure'
end
else
flash.now[:notice] = t 'user.login.notice'
end
end