mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-25 07:30:46 +08:00
Add configurable captcha endpoints
This commit is contained in:
@@ -21,6 +21,14 @@ app.upload.max-size=${UPLOAD_MAX_SIZE:5242880}
|
||||
app.user.posts-limit=${USER_POSTS_LIMIT:10}
|
||||
app.user.replies-limit=${USER_REPLIES_LIMIT:50}
|
||||
|
||||
# Captcha configuration
|
||||
app.captcha.enabled=${CAPTCHA_ENABLED:false}
|
||||
recaptcha.secret-key=${RECAPTCHA_SECRET_KEY:}
|
||||
app.captcha.register-enabled=${CAPTCHA_REGISTER_ENABLED:false}
|
||||
app.captcha.login-enabled=${CAPTCHA_LOGIN_ENABLED:false}
|
||||
app.captcha.post-enabled=${CAPTCHA_POST_ENABLED:false}
|
||||
app.captcha.comment-enabled=${CAPTCHA_COMMENT_ENABLED:false}
|
||||
|
||||
# ========= Optional =========
|
||||
# for resend email send service, you can improve your service by yourself
|
||||
resend.api.key=${RESEND_API_KEY:}
|
||||
|
||||
Reference in New Issue
Block a user