Support » Fixing WordPress » Show user password on screen

  • Resolved phillbooth


    Hello I have a made a nice script for my site where a user can register and see there pre-generated password on screen however I am having trouble decrypting it.

    The code below gets the password in its MD5 form but how to unlock with salt? there must be a way as the WP welcome/password reset email shows the given password.

    $user = get_userdatabylogin($_REQUEST['youremail']);
Viewing 1 replies (of 1 total)
  • Got round this by simply grabbing the wp_generate_password() return and passing that to template

    wp_create_user( $youremail, $newpassword, $youremail );
Viewing 1 replies (of 1 total)
  • The topic ‘Show user password on screen’ is closed to new replies.