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="http://zielone.info/wp-login.php?action=lostpassword" method="post">
    	<p>
    		<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>
    	</p>
    		<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>
    </form>

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

    [theme-my-login]

    And change in wp-login.php

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

    and

    $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.