feat: implement daily character seed from environment variable and enhance selection logic with hashing

This commit is contained in:
2026-03-02 12:26:11 +01:00
parent a339498879
commit 485d96026a
2 changed files with 24 additions and 3 deletions

View File

@@ -7,3 +7,8 @@ ORIGIN=""
# For production use 32 characters and generated with high entropy
# https://www.better-auth.com/docs/installation
BETTER_AUTH_SECRET=""
# Daily Character Selection
# Seed for daily character selection (default: "onepiecedle")
# Can be any string - will be hashed to generate the rotation
DAILY_CHARACTER_SEED=onepiecedle