Add lost password link
authorLaury GvR <laury@gaslightmedia.com>
Fri, 3 Jun 2016 17:55:13 +0000 (13:55 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 3 Jun 2016 17:55:13 +0000 (13:55 -0400)
glm-members-only-template.php

index d8fe371..366aff7 100644 (file)
@@ -49,9 +49,9 @@ Template Name: GLM Members Only Template
                             <?php 
                                 update_option('glm_member_db_frontend_login_request', 'true');
                                 wp_login_form(1, get_permalink()); 
-                                update_option('glm_member_db_frontend_login_request', 'false');
                                 ?>
                         </div>
+                        <a href="<?php echo wp_lostpassword_url(); ?>" title="Lost Password">Lost Password?</a>
                     <?php } ?>
                     </div>
                 </div>