We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34459
    • 134 Posts
    Hi, I’m going through the basic tutorial (http://rtfm.modx.com/display/ADDON/Login.Basic+Setup)
    and I’m stuck on the forgot password part, I have the FP page where I have username, email but when I click reset password nothing happens..any ideas? (Revo 2.1, fresh install)
      Check out blackflow.pl
      • 21122
      • 153 Posts
      I have exactly the same problem here.

      Fresh install of Revo 2.1, and ForgotPassword doesn’t seem to be working.

      I’ve altered the ids shown in the tutorial posted by the Original poster, but it doesn’t seem to be working??

      So to clarify, my login page has an ID of 1, and contains the following:

      [[!Login? &loginTpl=`lgnLoginTpl` &logoutTpl=`lgnLogoutTpl` &errTpl=`lgnErrTpl` &logoutResourceId=`5`]] 


      When I click the ’Forgot Password?’ link, it takes me to my ’Forgot Password’ page. This contains the following:

      [[ForgotPassword? &resetResourceId=`10` &tpl=`lgnForgotPassTpl`]]


      This should point me to my Reset Handler (with an ID of 10), however, I don’t think I’m getting that far. As soon as I click on the button to reset my password, it just clears the username or e-mail textbox - and thats it.

      I’ve attached my Document Tree. I think I have everything as it should be.

      Oh - and I’m on IIS (not that this should matter!)
        • 21122
        • 153 Posts
        Pretty sure I solved this issue this morning.

        In the tutorial, the ForgotPassword is being cahced when it is called, so you need to call it uncached ([[!ForgotPassword instead of [[ForgotPassword).

        Works for me anyway.