get user password with onAfterUserCreate / or onBeforeUserCreate

  • Posts: 11
  • Thank you received: 0
3 years 10 months 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: 81504
  • Thank you received: 13064
  • MODERATOR
3 years 10 months 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: 11
  • Thank you received: 0
3 years 10 months ago #320096

Got it, thank you so much!

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

Time to create page: 0.057 seconds
Powered by Kunena Forum