mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Don't require LOCAL_DATABASE_PASSWORD on local server.
(imported from commit d2bdd25ba9d472cb7cff3fa344cf0d7bb2799c6a)
This commit is contained in:
		@@ -68,7 +68,14 @@ DATABASES = {"default": {
 | 
			
		||||
    },
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if not DEPLOYED or LOCAL_SERVER:
 | 
			
		||||
if LOCAL_SERVER:
 | 
			
		||||
    DATABASES["default"].update({
 | 
			
		||||
            'HOST': 'localhost',
 | 
			
		||||
            'OPTIONS': {
 | 
			
		||||
                'autocommit': True,
 | 
			
		||||
            }
 | 
			
		||||
            })
 | 
			
		||||
elif not DEPLOYED:
 | 
			
		||||
    DATABASES["default"].update({
 | 
			
		||||
            'PASSWORD': LOCAL_DATABASE_PASSWORD,
 | 
			
		||||
            'HOST': 'localhost',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user