Override Local login form

NodeBB Plugins
  • Is there a skeleton plugin (or something similar) that shows how to override the local login form in nodebb? As mentioned here (Allow plugins to override the local login strategy #2806)


  • I think I found what i was looking for:

    (How to create a login override plugin)


  • 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).?

Suggested Topics