jupyterhub / ldapauthenticator

LDAP Authenticator Plugin for Jupyter
BSD 3-Clause "New" or "Revised" License
206 stars 178 forks source link

fix: Ensure a list `bind_dn_template` is properly validated #289

Closed mahendrapaipuri closed 3 weeks ago

mahendrapaipuri commented 3 weeks ago

Seems like we are ignoring the value of bind_dn_template when it is a string in validator. This PR fixes it by checking if value is of list instance and setting up the value correctly.