mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-24 02:32:26 +08:00
Set anonymous owner when NO_AUTH
This commit is contained in:
@@ -85,7 +85,7 @@ def get_user(request):
|
||||
|
||||
if app.config['NO_AUTH']:
|
||||
log.debug("Authorization is disabled.")
|
||||
return
|
||||
return "anonymous", {"packager"}
|
||||
|
||||
_load_secrets()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user