bilde2910 / Hauk

Open-source realtime location sharing
Apache License 2.0
583 stars 58 forks source link

Fix incorrectly reporting LDAP errors when cannot find HTPASSWD file #183

Closed mansguiche closed 1 month ago

mansguiche commented 2 years ago

Fixes a bug where the authenticated method drops through from the HTPASSWD case to the LDAP case when no htpasswd file is found.

This was mentioned in 2020 in issue #142 but was subsequently closed when the reporter reinstalled their system and no longer could see the issue.

I have also added translations for the new error. These were done through google translate, so I cannot guarantee the quality. I have added these in a separate commit in case you wish to not include them.

bilde2910 commented 1 month ago

Sorry for this taking so long to get merged. I have some plans in the works, and think I can manage to set aside some more time for Hauk in the coming time.