Password reminder
The registered users can request their password to be sent to their e-mail address.
Saurus 3
In Saurus 3 only registered users can request their password, the content editors not. To use this functionality, just redirect your user to sitename/?op=remindpass. This would display a built-in template in the content area in your site.
Saurus 4
In Saurus 4, the registered users and content editors are the same users. Here using sitename/?op= remindpass would display a blank page similar to the /editor or /admin login screen. To display the password reminder in your site content, please use the following SAPI code in one of your templates (from version 4.0.9):
{if $smarty.post.op2 == "send" && $form_error.email == ""}
Password sent.
{else}
<form method="POST" name="regform" action="{$self}">
<input type="hidden" name="id" value="{$id}">
<input type="hidden" name="op" value="remindpass">
<input type="hidden" name="op2" value="send">
<input type="hidden" name="c_tpl" value="{$c_tpl}">
E-mail*:<input type="text" name="email">
<strong>{$form_error.email}</strong>
<input type="submit" value="Send">
</form>
{/if}
RSS