Override Local login form
-
I think I found what i was looking for:
https://gist.github.com/julianlam/19deafaa4dbd624ceecd (How to create a login override plugin)
Thanks,
-
I have another question in regards to this:
I managed to get the login override plugin working with LDAP. It basically uses the normal login form to authenticate against my LDAP server, if the authentication fails it sends login failed back, if it passes it either logs the user in (if they already exist) or creates the user and logs them in.
My question is, how do i bypass the check and use the normal authentication method if the user is the forums admin (the account that i set up the server with).?
Copyright © 2024 NodeBB | Contributors