feat: Auto-generate admin password from project folder name
Changes:
- Removed --admin-password argument (no longer needed)
- Password auto-generated: folder_name.lower().replace(' ', '')
- Each website has unique password
- No need to ask user for password
Examples:
- moreminimore → password: moreminimore
- My Website → password: mywebsite
- deal-plustech → password: deal-plustech
Benefits:
- Simple (same as folder name)
- Secure (different per project)
- No password management needed
- Not stored in git (in .env)
This commit is contained in:
@@ -8,7 +8,7 @@ UMAMI_DOMAIN=analytics.example.com
|
||||
|
||||
# Admin Dashboard
|
||||
# Change this before deploying to production!
|
||||
ADMIN_PASSWORD=changeme
|
||||
ADMIN_PASSWORD=(auto-generated from folder name)
|
||||
|
||||
# Database (Optional - for production with Turso)
|
||||
# ASTRO_DB_REMOTE_URL=libsql://your-db.turso.io
|
||||
|
||||
Reference in New Issue
Block a user