remove bcrypt from registration key, use plain string comparison

This commit is contained in:
dmit.b
2026-06-25 16:53:56 +03:00
parent 8df9af86e6
commit fdb3140b8b
4 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ POSTGRES_USER="postgres"
POSTGRES_PASSWORD="postgres"
# TOKEN_LIFETIME in minutes
TOKEN_LIFETIME=600
# Secret key for registration (plaintext, hashed with bcrypt at startup)
# Secret key for registration (plaintext comparison)
REGISTRATION_SECRET_KEY=FtracKer*1405.