fix exception in logs

This commit is contained in:
Sam 2013-11-28 12:39:59 +11:00
parent 52160179f8
commit 79087f4e6f
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ class SessionController < ApplicationController
login_not_approved
return
end
else
invalid_credentials
return
end
if user.suspended?