mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	Change ldap_certpath to file
This commit is contained in:
		| @@ -604,7 +604,7 @@ def _configuration_ldap_helper(to_save, gdriveError): | |||||||
|         return reboot_required, _configuration_result(_('LDAP User Object Filter Has Unmatched Parenthesis'), |         return reboot_required, _configuration_result(_('LDAP User Object Filter Has Unmatched Parenthesis'), | ||||||
|                                      gdriveError) |                                      gdriveError) | ||||||
|  |  | ||||||
|     if config.config_ldap_cert_path and not os.path.isdir(config.config_ldap_cert_path): |     if config.config_ldap_cert_path and not os.path.isfile(config.config_ldap_cert_path): | ||||||
|         return reboot_required, _configuration_result(_('LDAP Certificate Location is not Valid, Please Enter Correct Path'), |         return reboot_required, _configuration_result(_('LDAP Certificate Location is not Valid, Please Enter Correct Path'), | ||||||
|                                      gdriveError) |                                      gdriveError) | ||||||
|     return reboot_required, None |     return reboot_required, None | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs