mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	allauth default login protocol setting (#3975)
This commit is contained in:
		@@ -744,6 +744,7 @@ SOCIALACCOUNT_STORE_TOKENS = True
 | 
				
			|||||||
# settings for allauth
 | 
					# settings for allauth
 | 
				
			||||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting('INVENTREE_LOGIN_CONFIRM_DAYS', 'login_confirm_days', 3, typecast=int)
 | 
					ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting('INVENTREE_LOGIN_CONFIRM_DAYS', 'login_confirm_days', 3, typecast=int)
 | 
				
			||||||
ACCOUNT_LOGIN_ATTEMPTS_LIMIT = get_setting('INVENTREE_LOGIN_ATTEMPTS', 'login_attempts', 5, typecast=int)
 | 
					ACCOUNT_LOGIN_ATTEMPTS_LIMIT = get_setting('INVENTREE_LOGIN_ATTEMPTS', 'login_attempts', 5, typecast=int)
 | 
				
			||||||
 | 
					ACCOUNT_DEFAULT_HTTP_PROTOCOL = get_setting('INVENTREE_LOGIN_DEFAULT_HTTP_PROTOCOL', 'login_default_protocol', 'http')
 | 
				
			||||||
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
 | 
					ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
 | 
				
			||||||
ACCOUNT_PREVENT_ENUMERATION = True
 | 
					ACCOUNT_PREVENT_ENUMERATION = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -161,6 +161,7 @@ background:
 | 
				
			|||||||
# Login configuration
 | 
					# Login configuration
 | 
				
			||||||
login_confirm_days: 3
 | 
					login_confirm_days: 3
 | 
				
			||||||
login_attempts: 5
 | 
					login_attempts: 5
 | 
				
			||||||
 | 
					login_default_protocol: http
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Remote / proxy login
 | 
					# Remote / proxy login
 | 
				
			||||||
# These settings can introduce security problems if configured incorrectly. Please read
 | 
					# These settings can introduce security problems if configured incorrectly. Please read
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user