mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Used the term suspended instead of banned.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user