mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Working on register mail confirmation
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user