[buddypress-trac] [BuddyPress Trac] #8335: REST API user registration endpoint not sending validation email
buddypress-trac
noreply at wordpress.org
Sun Jul 26 01:29:00 UTC 2020
#8335: REST API user registration endpoint not sending validation email
--------------------------+----------------------
Reporter: dariobf | Owner: (none)
Type: defect (bug) | Status: closed
Priority: highest | Milestone:
Component: REST API | Version:
Severity: major | Resolution: wontfix
Keywords: dev-feedback |
--------------------------+----------------------
Changes (by espellcaste):
* keywords: => dev-feedback
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
It is important to understand that the members endpoint is a mirror of the
WordPress user endpoint with some BuddyPress sugar on top of it.
Meaning that if you want to add a user and have the confirmation email
sent, you need to use the user signup endpoint:
https://developer.buddypress.org/bp-rest-api/reference/signup/#signup-a
-user-with-or-without-a-blog
That's the correct way to signup a user. The app should register the user
using this endpoint
and the API will send the confirmation email.
If you want to force a user in, you can use the Members endpoint:
https://developer.buddypress.org/bp-rest-
api/reference/members/#create-a-member
No confirmation email will be sent and like you mentioned, the user will
confirmed.
So I'm closing this ticket as invalid since my understanding of it is that
you are using the wrong endpoint to get what you need.
:)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8335#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list