fix exception in logs
This commit is contained in:
parent
52160179f8
commit
79087f4e6f
@ -26,6 +26,10 @@ class SessionController < ApplicationController
|
||||
login_not_approved
|
||||
return
|
||||
end
|
||||
|
||||
else
|
||||
invalid_credentials
|
||||
return
|
||||
end
|
||||
|
||||
if user.suspended?
|
||||
|
||||
Reference in New Issue
Block a user