Limiting bots from commenting

This commit is contained in:
BlenderDumbass 2024-12-04 01:42:54 +02:00
parent 84d8eb4451
commit 8f060242bb

View file

@ -2182,6 +2182,11 @@ def UpdatePublicationRights(server):
def DoComment(server): def DoComment(server):
# Limiting bots from commenting
if not server.cookie:
AccessDenied()
return
user = validate(server.cookie) user = validate(server.cookie)
Accounts = accounts() Accounts = accounts()