get user password with onAfterUserCreate / or onBeforeUserCreate

  • Posts: 10
  • Thank you received: 0
1 month 1 week ago #320032

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!

Please Log in or Create an account to join the conversation.

  • Posts: 70022
  • Thank you received: 10487
  • MODERATOR
1 month 2 weeks ago #320047

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.

The following user(s) said Thank You: nozaro33

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
1 month 1 week ago #320096

Got it, thank you so much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum