Set anonymous owner when NO_AUTH

This commit is contained in:
Jakub Kadlčík
2017-03-27 11:39:16 +02:00
parent 0b12e85e97
commit 8626f974cf
2 changed files with 4 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ def get_user(request):
if app.config['NO_AUTH']:
log.debug("Authorization is disabled.")
return
return "anonymous", {"packager"}
_load_secrets()