summaryrefslogtreecommitdiff
path: root/opendc/api/v2/users/endpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/api/v2/users/endpoint.py')
-rw-r--r--opendc/api/v2/users/endpoint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc/api/v2/users/endpoint.py b/opendc/api/v2/users/endpoint.py
index 89dfc8c1..b1a3675d 100644
--- a/opendc/api/v2/users/endpoint.py
+++ b/opendc/api/v2/users/endpoint.py
@@ -31,6 +31,7 @@ def POST(request):
user = User(request.params_body['user'])
user.set_property('googleId', request.google_id)
+ user.set_property('authorizations', [])
validation_error = user.validate_insertion()
if validation_error is not None: