WordPress.org

Support

Support » Multisite » show password in user registration email

show password in user registration email

  • Hello,

    I’ve set up a form with pods cms plugin which when saved creates a new user account and random password and then emails this to the new user (wpmu_welcome_user_notification($user_id, $random_password);).

    It all works fine apart from that I need the password to show in the email instead of “Password: [User Set]”.

    I can’t seem to work out how to change this. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is PODS-CMS plugin even compatible with Multisite?

    I only use pods-cms for the main site and that works fine. I’m not expecting it to work on the network sites, but I haven’t tried this.

    I still haven’t managed to show the password in the welcome email.

    I guess I could just send out the password with wp_mail, but I’d rather use wpmu_welcome_user_notification instead.

    You’ll have to ask Scott. (the pods plugin dev)

    I don’t think this is related at all to pods. Pods is only the trigger to run some core WP functions when it saves the data:

    $random_password = wp_generate_password( 12, false );
    $user_id = wpmu_create_user( $user_name, $random_password, $user_email );
    wpmu_welcome_user_notification($user_id, $random_password);

    All of that works fine, and the password gets generated correctly and is entered to the database. I just need this password to print in the welcome email instead of Password: [User Set].

    The same happens even if I run those functions seperate from pods.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘show password in user registration email’ is closed to new replies.