Refactor session encryption variable names for consistency
- Changed `NUXT_SESSION_SECRET` to `NUXT_SESSION_PASSWORD` across configuration files and documentation to align with the usage in nuxt-auth-utils. - Updated related comments and documentation to reflect the new variable name, ensuring clarity for developers and users.
This commit is contained in:
@@ -218,7 +218,7 @@ test:
|
||||
**Problem:** Session-related tests fail unexpectedly
|
||||
|
||||
**Solutions:**
|
||||
1. Verify `NUXT_SESSION_SECRET` is set in `.env`
|
||||
1. Verify `NUXT_SESSION_PASSWORD` is set in `.env`
|
||||
2. Clear Redis cache: `docker-compose -f docker-compose.dev.yml restart redis`
|
||||
3. Check session expiration settings in `nuxt.config.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user