summaryrefslogtreecommitdiffstats
path: root/ogcp/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/models.py')
-rw-r--r--ogcp/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/models.py b/ogcp/models.py
index 943ed94..9ad40db 100644
--- a/ogcp/models.py
+++ b/ogcp/models.py
@@ -8,5 +8,5 @@
from flask_login import UserMixin
class User(UserMixin):
- def get_id(self):
- return 1
+ def __init__(self, username):
+ self.id = username