Crivaledaz / Mattermost-LDAP

This module provides an external LDAP authentication in Mattermost for the Team Edition (free).
MIT License
359 stars 71 forks source link

Friendlier error if user is not found in LDAP #50

Closed grvsmth closed 4 years ago

grvsmth commented 4 years ago

If the LDAP search finds no results, the scripts return the error "Impossible to get data." Our beta testers have reported that this error is confusing. This changes it to say "$user is not in the group of authorized users".

Crivaledaz commented 4 years ago

You are right, it is more relevant like that.

You convince me to use a .gitignore file :) . I used to test in a distinct folder to keep my git folder clean.

Thanks for your work.