Turn off legacy OpenID 2.0 login in Gitea
ENABLE_OPENID_SIGNUP let anyone with an OpenID URL register despite DISABLE_REGISTRATION (an account was created that way on 2026-09-30). All logins go through Pocket ID now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,9 @@ services:
|
|||||||
- GITEA__mailer__SMTP_PORT=465
|
- GITEA__mailer__SMTP_PORT=465
|
||||||
- GITEA__mailer__USER={{ smtp.username }}
|
- GITEA__mailer__USER={{ smtp.username }}
|
||||||
- GITEA__mailer__PASSWD={{ vault_smtp.password }}
|
- GITEA__mailer__PASSWD={{ vault_smtp.password }}
|
||||||
|
# Legacy OpenID 2.0 login let anyone register despite DISABLE_REGISTRATION. Logins go through Pocket ID.
|
||||||
|
- GITEA__openid__ENABLE_OPENID_SIGNIN=false
|
||||||
|
- GITEA__openid__ENABLE_OPENID_SIGNUP=false
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
mag37.dockcheck.update: true
|
mag37.dockcheck.update: true
|
||||||
|
|||||||
Reference in New Issue
Block a user