fix(ente): add admin config section and fix CLI flags
- Add 'internal: admins: []' section to museum.yaml so admin CLI commands work after adding email to the list - Fix --no-limit flag in helper script (requires 'True' argument) - Add admin setup step to JSON first-start notes
This commit is contained in:
@@ -106,6 +106,9 @@ key:
|
||||
jwt:
|
||||
secret: $SECRET_JWT
|
||||
|
||||
internal:
|
||||
admins: []
|
||||
|
||||
# SMTP not configured - verification codes will appear in logs
|
||||
# To configure SMTP, add:
|
||||
# smtp:
|
||||
@@ -310,7 +313,7 @@ if [ -z "$1" ]; then
|
||||
fi
|
||||
EMAIL="$1"
|
||||
echo "Upgrading subscription for: $EMAIL"
|
||||
ente admin update-subscription -a "$EMAIL" -u "$EMAIL" --no-limit
|
||||
ente admin update-subscription -a "$EMAIL" -u "$EMAIL" --no-limit True
|
||||
EOF
|
||||
chmod +x /usr/local/bin/ente-upgrade-subscription
|
||||
|
||||
|
||||
Reference in New Issue
Block a user