Add configurable password strength policy

This commit is contained in:
Tim
2025-07-01 13:45:35 +08:00
parent e6bee42289
commit 6df855a816
5 changed files with 71 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ spring.jpa.hibernate.ddl-auto=update
# for jwt
app.jwt.secret=${JWT_SECRET:ChangeThisSecretKeyForJwt}
app.jwt.expiration=${JWT_EXPIRATION:86400000}
# Password strength: LOW, MEDIUM or HIGH
app.password.strength=${PASSWORD_STRENGTH:LOW}
# Post publish mode: DIRECT or REVIEW
app.post.publish-mode=${POST_PUBLISH_MODE:DIRECT}