diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index ebe89f7d0..e5348695f 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -37,6 +37,7 @@ class Users::SessionsController < Sessions::SessionsController elsif administrateur_signed_in? redirect_to admin_path else + flash.alert = 'Mauvais couple login / mot de passe' new render :new, status: 401 end