Make admin creation upgrade-safe and drop deprecated avatar options
- "generate admin user" handler also fires on version upgrades; tolerate an existing admin and hide the password from logs (no_log) - remove [picture] DISABLE_GRAVATAR / ENABLE_FEDERATED_AVATAR, which Gitea >= 1.23 ignores (moved to the admin panel) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
87b9547abb
commit
126ab04bec
2 files changed
+5
-4
No files matched your search
@@ -58,10 +58,6 @@ DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
||||
DEFAULT_ENABLE_TIMETRACKING = true
|
||||
NO_REPLY_ADDRESS = noreply.{{ gitea_ssh_domain }}
|
||||
|
||||
[picture]
|
||||
DISABLE_GRAVATAR = false
|
||||
ENABLE_FEDERATED_AVATAR = true
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
ENABLE_OPENID_SIGNUP = false
|
||||
|
||||
Reference in new issue
Block a user