hsanabria Posted June 19, 2015 Posted June 19, 2015 I created a custom login page as indicated in https://processwire.com/talk/topic/107-custom-login/ I have active the forgot password module and have included a link to ./?forgot=1 at the custom template, but this does not lead me to change password . I should do for achieve the same functionality? Thanks
pwFoo Posted June 19, 2015 Posted June 19, 2015 Have You also loaded the module inside your login template? echo $modules->get('ProcessForgotPassword')->execute(); I integrated it to my login module. https://bitbucket.org/pwFoo/frontenduser/src/d0b10941624547a773cd3d336f53c3c7a093e813/FrontendUser/FrontendUser.module?at=master#cl-341 1
hsanabria Posted June 21, 2015 Author Posted June 21, 2015 Thanks pwFoo by the indication. Actually I don't know how to integrate that code to the login template, for that custom page will behave as the original page. I used another template over a new page and it works well, but if you can tell me how do I get this to work as the original page I'd appreciate.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now