- Posts: 11
- Thank you received: 0
get user password with onAfterUserCreate / or onBeforeUserCreate
6 years 3 months ago #320032
by nozaro33
Hi, I want to be able to send username and pw with sms other then the usual email. Is it possible to get the password using plugin OnAfterUserCreate or onBeforeUserCreate? or I have to write the function within the classes / user.php?
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
6 years 3 months ago #320047
by nicolas
Replied by nicolas on topic get user password with onAfterUserCreate / or onBeforeUserCreate
Hi,
Yes. In these functions, you'll find the registration information, including the password, in $_POST. So I would recommend to start your coding with var_dump($_POST); exit; in these functions to check where the information you need is located.
Yes. In these functions, you'll find the registration information, including the password, in $_POST. So I would recommend to start your coding with var_dump($_POST); exit; in these functions to check where the information you need is located.
The following user(s) said Thank You: nozaro33
Please Log in or Create an account to join the conversation.
6 years 3 months ago #320096
by nozaro33
Replied by nozaro33 on topic get user password with onAfterUserCreate / or onBeforeUserCreate
Got it, thank you so much!
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds