mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-31 06:24:18 -04:00
fix(ente): remove explicit admins:[] from museum.yaml
The 'internal.admins' field expects user IDs, not emails. Setting it to an empty array explicitly disables admin access. Without the field, museum falls back to treating the first registered user as admin, which is the correct behavior for self-hosted instances.
This commit is contained in:
@@ -106,9 +106,6 @@ key:
|
||||
jwt:
|
||||
secret: $SECRET_JWT
|
||||
|
||||
internal:
|
||||
admins: []
|
||||
|
||||
# SMTP not configured - verification codes will appear in logs
|
||||
# To configure SMTP, add:
|
||||
# smtp:
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
"type": "warning"
|
||||
},
|
||||
{
|
||||
"text": "First-Start: Add your email as admin in museum.yaml: under `internal: admins:` add your email, then `systemctl restart ente-museum`",
|
||||
"type": "warning"
|
||||
"text": "First-Start: The first registered user automatically becomes admin",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "First-Start: Add your account to the CLI: `ente account add` (export dir: any path, e.g. /photos)",
|
||||
|
||||
Reference in New Issue
Block a user