mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05: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