Register and log users in using user_login parameter
-
Hi Nicu
Thanks for contributing the plugin – very helpful.
I’ve had a lot of success, but when I’ve tried to register a user using the ‘user_login’ url parameter from the docs it seems that the code still uses email regardless (when I check in wordpress the username is the email address). Can you confirm? Sample URL below.
`rest_route=/simple-jwt-login/v1/users&user_login=myuser&[email protected]&first_name=firstname&last_name=Tlastnamean&show_admin_bar_front=false&AUTH_KEY=blah
Also, on the jwt login settings, does “Login by wordpress id” actually mean the internal wordpress user integer(not sure how I would get this? I dont see it returned after creation?) or the wordpress ‘user_login’ specified above.
Thanks for your help.
Ross
The topic ‘Register and log users in using user_login parameter’ is closed to new replies.