Hi folks
MODX 2.5. When I use the default code for the tpl for Forgot Password, I get this (placeholders are broken):
Also if I proceed with the reset, I do get the email as follows, but with the URL missing:
To activate your new password, please click on the following link:
If successful you can use the following password to login:
Password: bxg1yprf
If you did not request this message, please ignore it.
My code:
[[!ForgotPassword? &resetResourceId=`123` &tplType=`embedded` &sentTplType=`inline` &sentTpl=`<p>Your login information has been sent to the email address [[+email]].</p>` ]]
<div class="loginFPErrors">[[+loginfp.errors]]</div>
<div class="loginFP">
<form class="loginFPForm" action="[[~[[*id]]]]" method="post">
<fieldset class="loginFPFieldset">
<legend class="loginFPLegend">[[%login.forgot_password]]</legend>
<label class="loginFPUsernameLabel">[[%login.username]]
<input class="loginFPUsername" type="text" name="username" value="[[+loginfp.post.username]]" />
</label>
<p>[[%login.or_forgot_username]]</p>
<label class="loginFPEmailLabel">[[%login.email]]
<input class="loginFPEmail" type="text" name="email" value="[[+loginfp.post.email]]" />
</label>
<input class="returnUrl" type="hidden" name="returnUrl" value="[[+loginfp.request_uri]]" />
<input class="loginFPService" type="hidden" name="login_fp_service" value="forgotpassword" />
<span class="loginFPButton"><input type="submit" name="login_fp" value="[[%login.reset_password]]" /></span>
</fieldset>
</form>
</div>
Any ideas?
Thanks.