Use normal notice system to display login banner
This commit is contained in:
parent
047027c95d
commit
b3d92954d3
3 changed files with 2 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue