Use normal notice system to display login banner
[rails.git] / app / controllers / user_controller.rb
index 93ca03d660e8fc00a374b2af9b26e33eb84cf8b2..b9cca0cf6798cb39f6dd828a5d104443b81be655 100644 (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