mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08: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