Working on register mail confirmation
This commit is contained in:
parent
9a666f3377
commit
fbbae2b721
8 changed files with 189 additions and 14 deletions
12
conf/app.ini
12
conf/app.ini
|
@ -1,5 +1,6 @@
|
|||
; App name that shows on every page title
|
||||
APP_NAME = Gogs: Go Git Service
|
||||
APP_LOGO = img/favicon.png
|
||||
; !!MUST CHANGE TO YOUR USER NAME!!
|
||||
RUN_USER = lunny
|
||||
; Either "dev", "prod" or "test", default is "dev"
|
||||
|
@ -11,7 +12,8 @@ LANG_IGNS = Google Go|C|Python|Ruby|C Sharp
|
|||
LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|BSD (3-Clause) License
|
||||
|
||||
[server]
|
||||
DOMAIN = gogits.org
|
||||
DOMAIN = localhost
|
||||
ROOT_URL = http://%(DOMAIN)s:%(HTTP_PORT)s/
|
||||
HTTP_ADDR =
|
||||
HTTP_PORT = 3000
|
||||
|
||||
|
@ -27,7 +29,13 @@ SSL_MODE = disable
|
|||
|
||||
[security]
|
||||
; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
|
||||
USER_PASSWD_SALT = !#@FDEWREWR&*(
|
||||
SECRET_KEY = !#@FDEWREWR&*(
|
||||
|
||||
[service]
|
||||
ACTIVE_CODE_LIVE_MINUTES = 180
|
||||
RESET_PASSWD_CODE_LIVE_MINUTES = 180
|
||||
; User need to confirm e-mail for registration
|
||||
REGISTER_EMAIL_CONFIRM = true
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue