Using a nonce in a Custom Login Form
using wp-login.php as a template. is not a correct way to do that. Source You’d better use the wp_login_form() function in a custom template. EDIT: And if you want to add an option to reset password you could do this : add_action( ‘login_form_middle’, ‘add_lost_password_link’ ); function add_lost_password_link() { return ‘<a href=”https://wordpress.stackexchange.com/wp-login.php?action=lostpassword”>Lost Password?</a>’; } Source