swri-robotics / bag-database

A server that catalogs bag files and provides a web-based UI for accessing them.
Other
342 stars 71 forks source link

LDAP authentication only looks for user by email #175

Open AkinSisbot opened 2 years ago

AkinSisbot commented 2 years ago

I recently setup an LDAP server to use with bag-database. I notice that bag-database uses email field to lookup the user account. MY LDAP server doesn't have an email field but a mail field. Can we use an environment variable to tell the system what keyword it should use for LDAP authentication?