 BlackDex
					
					3 years ago
						BlackDex
					
					3 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 58C80A2AA6C765E1
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
3 additions and 
3 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/static/scripts/admin_settings.js
				
- 
					
					
					 
					src/static/scripts/admin_users.js
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -19,7 +19,7 @@ function smtpTest(event) { | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     const data = JSON.stringify({ "email": test_email.value }); |  |  |     const data = JSON.stringify({ "email": test_email.value }); | 
			
		
	
		
		
			
				
					
					|  |  |     _post(`${BASE_URL}/admin/test/smtp/`, |  |  |     _post(`${BASE_URL}/admin/test/smtp`, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         "SMTP Test email sent correctly", |  |  |         "SMTP Test email sent correctly", | 
			
		
	
		
		
			
				
					|  |  |         "Error sending SMTP test email", |  |  |         "Error sending SMTP test email", | 
			
		
	
		
		
			
				
					|  |  |         data, false |  |  |         data, false | 
			
		
	
	
		
		
			
				
					|  | @ -45,7 +45,7 @@ function getFormData() { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | function saveConfig(event) { |  |  | function saveConfig(event) { | 
			
		
	
		
		
			
				
					|  |  |     const data = JSON.stringify(getFormData()); |  |  |     const data = JSON.stringify(getFormData()); | 
			
		
	
		
		
			
				
					
					|  |  |     _post(`${BASE_URL}/admin/config/`, |  |  |     _post(`${BASE_URL}/admin/config`, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         "Config saved correctly", |  |  |         "Config saved correctly", | 
			
		
	
		
		
			
				
					|  |  |         "Error saving config", |  |  |         "Error saving config", | 
			
		
	
		
		
			
				
					|  |  |         data |  |  |         data | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -113,7 +113,7 @@ function inviteUser(event) { | 
			
		
	
		
		
			
				
					|  |  |         "email": email.value |  |  |         "email": email.value | 
			
		
	
		
		
			
				
					|  |  |     }); |  |  |     }); | 
			
		
	
		
		
			
				
					|  |  |     email.value = ""; |  |  |     email.value = ""; | 
			
		
	
		
		
			
				
					
					|  |  |     _post(`${BASE_URL}/admin/invite/`, |  |  |     _post(`${BASE_URL}/admin/invite`, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         "User invited correctly", |  |  |         "User invited correctly", | 
			
		
	
		
		
			
				
					|  |  |         "Error inviting user", |  |  |         "Error inviting user", | 
			
		
	
		
		
			
				
					|  |  |         data |  |  |         data | 
			
		
	
	
		
		
			
				
					|  | 
 |