fix exception in logs
This commit is contained in:
parent
52160179f8
commit
79087f4e6f
|
@ -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…
Reference in New Issue