mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	remove parenthesis in LDAP Message
This commit is contained in:
		| @@ -117,7 +117,7 @@ def bind_user(username, password): | ||||
|         return None, error | ||||
|     except LDAPException as ex: | ||||
|         if ex.message == 'Invalid credentials': | ||||
|             error = ("LDAP admin login failed") | ||||
|             error = "LDAP admin login failed" | ||||
|             return None, error | ||||
|         if ex.message == "Can't contact LDAP server": | ||||
|             # log.warning('LDAP Server down: %s', ex) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs