Used the term suspended instead of banned.

This commit is contained in:
Neil Lalonde
2013-11-07 13:53:49 -05:00
parent 706f96af0a
commit 0c6f794eb0
57 changed files with 318 additions and 312 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class Auth::DefaultCurrentUserProvider
current_user = User.where(auth_token: auth_token).first
end
if current_user && current_user.is_banned?
if current_user && current_user.suspended?
current_user = nil
end