mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
fix exception in logs
This commit is contained in:
parent
52160179f8
commit
79087f4e6f
1 changed files with 4 additions and 0 deletions
|
@ -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?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue