nopaque/app/models/anonymous_user.py

11 lines
207 B
Python
Raw Normal View History

2024-05-27 07:23:08 +00:00
from flask_login import AnonymousUserMixin
class AnonymousUser(AnonymousUserMixin):
def can(self, permissions):
return False
@property
def is_administrator(self):
return False