Support » Plugin: Theme My Login » Resetpassword is now working

Viewing 1 replies (of 1 total)
  • I put to lostpassword page:

    <form name="lostpasswordform" id="lostpasswordform" action="" method="post">
    		<label for="user_login" >Nazwa użytkownika lub e-mail:<br />
    		<input type="text" name="user_login" id="user_login" class="input" value="" size="20" /></label>
    		<input type="hidden" name="redirect_to" value="" />
    	<p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="Zdobądź nowe hasło" /></p>

    Then I create new one lostpassword-confirm page and put there:


    And change in wp-login.php

    $redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : 'lostpassword-confirm/';


    $redirect_to = !empty( $_POST['redirect_to'] ) ? $_POST['redirect_to'] : 'lostpassword-confirm/';

    Its’s stupid, but work

Viewing 1 replies (of 1 total)
  • The topic ‘Resetpassword is now working’ is closed to new replies.