diff options
Diffstat (limited to 'ogcp/models.py')
-rw-r--r-- | ogcp/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/models.py b/ogcp/models.py index 4b88a41..d27b869 100644 --- a/ogcp/models.py +++ b/ogcp/models.py @@ -8,6 +8,7 @@ from flask_login import UserMixin class User(UserMixin): - def __init__(self, username, scopes): + def __init__(self, username, scopes, admin): self.id = username self.scopes = scopes + self.admin = admin |