Commit ecc43eb8 authored by mh's avatar mh
Browse files

non valid params should still be reported as a failed login and not just with no message at all

parent a2bcf9c9
......@@ -47,7 +47,7 @@ class SessionsController < ApplicationController
end
if !login_user_id.present? || !params[:password].present?
return new_login_session
return login_failed
end
if session[:ping_pong] > 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment