mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
support reset password by email reset link
This commit is contained in:
@@ -68,6 +68,19 @@ log_query = false
|
||||
# Set to true to automatically update database structure when starting web server
|
||||
auto_update_database = true
|
||||
|
||||
[mail]
|
||||
# Set to true to enable sending mail by smtp server
|
||||
enable_smtp = false
|
||||
|
||||
# Smtp Server connection configuration
|
||||
smtp_host = 127.0.0.1:25
|
||||
smtp_user =
|
||||
smtp_passwd =
|
||||
smtp_skip_tls_verify = false
|
||||
|
||||
# Mail from address. This can be just an email address, or the "Name" <user@domain.com> format.
|
||||
from_address =
|
||||
|
||||
[log]
|
||||
# Either "console", "file", default is "console"
|
||||
# Use space to separate multiple modes, e.g. "console file"
|
||||
@@ -99,6 +112,9 @@ token_expired_time = 2592000
|
||||
# Temporary token expired seconds (0 - 4294967295), default is 300 (5 minutes)
|
||||
temporary_token_expired_time = 300
|
||||
|
||||
# Forget password token expired seconds (0 - 4294967295), default is 3600 (60 minutes)
|
||||
forget_password_token_expired_time = 3600
|
||||
|
||||
# Add X-Request-Id header to response to track user request or error, default is true
|
||||
request_id_header = true
|
||||
|
||||
@@ -106,6 +122,9 @@ request_id_header = true
|
||||
# Set to true to allow users to register account by themselves
|
||||
enable_register = true
|
||||
|
||||
# Set to true to allow users to reset password by email verification code
|
||||
enable_forget_password = true
|
||||
|
||||
# User avatar provider, supports the following types:
|
||||
# "gravatar": https://gravatar.com
|
||||
# Leave blank if you want to disable user avatar
|
||||
|
||||
Reference in New Issue
Block a user