docs(env): update .env.example to bcrypt and add migration note
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Admin Account Configuration
|
# Admin Account Configuration
|
||||||
ADMIN_USERNAME=owner
|
ADMIN_USERNAME=owner
|
||||||
ADMIN_PASSWORD_HASH=YWRtaW4xMjM= # Base64 encoded password
|
ADMIN_PASSWORD_HASH=$2b$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy # bcrypt hashed password
|
||||||
|
# Legacy Base64 hashes are automatically migrated to bcrypt on server start/first login
|
||||||
|
|
||||||
# Domain Configuration
|
# Domain Configuration
|
||||||
DOMAIN=localhost:5173 # For production: your-domain.com
|
DOMAIN=localhost:5173 # For production: your-domain.com
|
||||||
|
Reference in New Issue
Block a user