aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJonas Östanbäck <cez81@users.noreply.github.com>2017-05-14 04:38:30 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-14 10:38:30 +0800
commite214728725b304e92308f3c30235ec0d12dd5478 (patch)
tree4693ca1691d8a760db1dc3fd78defa231b0faf8f /conf
parent9e627af9a449419bcec65ccff1dba00abc625d43 (diff)
downloadgitea-e214728725b304e92308f3c30235ec0d12dd5478.tar.gz
gitea-e214728725b304e92308f3c30235ec0d12dd5478.zip
Add new text for reset password flash (#1718)
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives * Improve documentation for different send mail functions related to password reset * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 4f7dc9946b..106e0ea2c2 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -222,7 +222,9 @@ WHITELISTED_URIS =
BLACKLISTED_URIS =
[service]
+; Time limit to confirm account/email registration (in multiples of 60 minutes)
ACTIVE_CODE_LIVE_MINUTES = 180
+; Time limit to confirm forgot password reset process (in multiples of 60 minutes)
RESET_PASSWD_CODE_LIVE_MINUTES = 180
; User need to confirm e-mail for registration
REGISTER_EMAIL_CONFIRM = false