fix auth: config.selfprivacy.modules.auth.enable or false
This commit is contained in:
@@ -14,7 +14,7 @@ let
|
||||
"gitea-light"
|
||||
"gitea-dark"
|
||||
];
|
||||
is-auth-enabled = config.selfprivacy.modules.auth.enable;
|
||||
is-auth-enabled = config.selfprivacy.modules.auth.enable or false;
|
||||
oauth-client-id = "forgejo";
|
||||
auth-passthru = config.passthru.selfprivacy.auth;
|
||||
oauth2-provider-name = auth-passthru.oauth2-provider-name;
|
||||
|
Reference in New Issue
Block a user