Don't allow banned ip addresses to make changes
Previously banned ip addresses couldn't make new accounts, but if they get an account somehow the ip ban wouldn't prevent them from making edits.
This commit is contained in:
@@ -40,6 +40,10 @@ class AnonymousUser
|
||||
false
|
||||
end
|
||||
|
||||
def is_banned_or_ip_banned?
|
||||
false
|
||||
end
|
||||
|
||||
def has_mail?
|
||||
false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user