Hi @larisa90 & @hornero,
I thought I would chime in here because I had the same issue.
I actually discovered the problem and wrote a fix for it that worked for me. @hornero what I ended up doing was adding a place on the Admin settings page specifically for the forgotten password url so I could direct it to a custom page and then updating the clean login login form to get that url. I added that into the admin area and then I went to login-php.form and added this at the top –
cl_forgottenpassword_redirect_url is the new field I added to the admin area.
$restore_url = clean_login_get_translated_option_page( 'cl_forgottenpassword_redirect_url', '');
Then I added this for the actual forgotten password link –
<?php if ( $show_restore_url != 'false' )
echo "<a href='$restore_url' class='cleanlogin-form-pwd-link'>". __( 'LOST PASSWORD?', 'clean-login' ) ."</a>";
?>
Take a look here.
https://snag.gy/fSHjFn.jpg
@larisa90, if you want a quick solution, go into the Clean Login form login-form.php and add a variable at the top that holds a hard-coded url to your forgotten password page and then go to the bottom of the page and use that url in an a href tag.
The problem is happening because Clean Login tries to identify the pages where it sees shortcodes and uses that information to determine the urls to use. This works as long as there is ONE shortcode used. If you have multiple shortcodes used, for example multiple login shortcodes on different pages, Clean Login doesn’t know which one to use. This is the same for the restore url. Clean Login is finding the sign in shortcode on the main sign in page and using that instead of finding the SECOND login shortcode which is on the forgotten password page and using that.
@hornero, if you add multiple login shortcodes and rest your mouse pointer over top list where it tells where the shortcodes are. You will see that it only will find one and sometimes that isn’t the right one. Take a look at what I mean here.
https://snag.gy/yND8A2.jpg
Thanks,
Kay