WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
87 stars 37 forks source link

Update class_logins.php #546

Closed oiLvAcciNe closed 2 years ago

oiLvAcciNe commented 2 years ago

When in "General Settings" "Authentication Method" is set to LDAP ... And then when you create a new user and try to set Authentication Method to "Builtin Auth..." for this particular User ... this user setting has no meaning since the aut_method = 1 was only looking for basically one entry in the fm_users table typically admin)` ... with this change (probably the code can be different from my proposal) .. you can have default ldap auth ... but still have users that will authenticate with local pass.

In general my goal is to have default ldap login but still provide login to local created users that will never be in a ldap environment.

tks dS