mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-07 01:21:22 -05:00
Feature: Add "Authentication Method" to allow existing users to sign in with LDAP (#2143)
* adds authentication method for users * fix db migration with postgres * tests for auth method * update migration ids * hide auth method on user creation form * (docs): Added documentation for the new authentication method * update migration * add to auto-form instead of having hidden fields
This commit is contained in:
@@ -42,7 +42,11 @@ LDAP_AUTH_ENABLED=False
|
||||
# LDAP_BASE_DN=""
|
||||
# LDAP_QUERY_BIND=""
|
||||
# LDAP_QUERY_PASSWORD=""
|
||||
# LDAP_USER_FILTER=""
|
||||
|
||||
# Optionally, filter by a particular user group
|
||||
# (&(|({id_attribute}={input})({mail_attribute}={input}))(objectClass=person)(memberOf=cn=mealie_user,ou=groups,dc=example,dc=com))
|
||||
# LDAP_USER_FILTER="(&(|({id_attribute}={input})({mail_attribute}={input}))(objectClass=person))"
|
||||
|
||||
# LDAP_ADMIN_FILTER=""
|
||||
# LDAP_ID_ATTRIBUTE=uid
|
||||
# LDAP_NAME_ATTRIBUTE=name
|
||||
|
||||
Reference in New Issue
Block a user