Commit Graph

5 Commits

Author SHA1 Message Date
LittleYellow
1c977f9266 feat: add LDAP authentication settings and toggle
Add an admin-only LDAP configuration UI with an enable toggle and full
sign-in integration.

Backend:
- ldapSettings model + migration (single-row config)
- GET/PUT/test routes under /ldap (admin-gated; bind password masked)
- shared ldapClient with RFC 4515 filter escaping and empty-password guard
- signin tries local auth first, then LDAP when enabled (find-or-create
  local user) so the bootstrap admin is never locked out

Frontend:
- LDAP settings page (Switch + form + test connection) under /admin/ldap
- AdminNav tabs between user management and LDAP
- ldapControl util, types, and Ldap i18n namespace for all 6 locales

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 07:20:08 +08:00
kimatata
761869736e chore: Unify backend express project into ESM (#281) 2025-09-15 22:46:46 +09:00
kimatata
9ae67fd303 fix: eslint warnings (#252) 2025-07-20 10:59:57 +09:00
Takeshi Kimata
f03222e49c fix: Change jwt expiration time from 1h to 24h 2024-07-21 20:44:12 +09:00
Takeshi Kimata
a573358a85 Create admin page 2024-05-26 20:50:23 +09:00