mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix exception in logs
This commit is contained in:
@@ -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