fix: Load admin credentials from .env file
- Add dotenv dependency and load .env configuration in auth.ts - Admin credentials now read from environment variables: - ADMIN_USERNAME (default: owner) - ADMIN_PASSWORD_HASH (default: admin123 hash) - ADMIN_EMAIL (default: owner@stargirlnails.de) - Remove hardcoded admin credentials - Add fallback values for backward compatibility - Clear existing user storage to force recreation with new credentials
This commit is contained in:
6219
pnpm-lock.yaml
generated
6219
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user