mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
fix exception in logs
This commit is contained in:
@ -26,6 +26,10 @@ class SessionController < ApplicationController
|
|||||||
login_not_approved
|
login_not_approved
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
else
|
||||||
|
invalid_credentials
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if user.suspended?
|
if user.suspended?
|
||||||
|
Reference in New Issue
Block a user