Hi Angus,
In standard registration,
- The user goes to the form and adds their name, email and password
- Then the user is automatically logged in
- Then when the user clicks on community link, they are automatically logged in Discourse (as by now the Discourse Connect plugin has done it’s job to create a new user in Discourse)
For the second form,
- The user adds a name and email.
- We provide them with a temp password
- Rest of the process is the same i.e. the user logs in automatically on sign up
- But in this case, the user is not created in Discourse.
I don’t see any setting in Discourse Connect that is triggered by changing a form for registration. If there a hook that needs to be trigged on user registration in WP that is not trigged in the case of second form?
In fact, which hook in WordPress is used to create a user in Discourse? There must be an API call made to trigger activity in Discourse. Could it not fire for some reason?