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:
CanbiZ (MickLesk)
2026-03-27 15:38:07 +01:00
parent 4b2c538ed9
commit dbabc9a1c2
2 changed files with 2 additions and 5 deletions

View File

@@ -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:

View File

@@ -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)",