mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 04:51:16 +08:00
The patch provided originally was made against the latest pagure code, but we are not on the latest dev version. So I created the patch directly for the source file deployed on src.stg.fedoraproject.org.
6 lines
246 B
Diff
6 lines
246 B
Diff
1455,1456c1455
|
|
<
|
|
< if pagure_config["PAGURE_AUTH"] == 'oidc' and flask.g.fas_user.can_create is False:
|
|
---
|
|
> if pagure_config["PAGURE_AUTH"] == 'oidc' and hasattr(flask.g.fas_user, "can_create") and flask.g.fas_user.can_create is False:
|