{* * $Revision: 16235 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}

{g->text text="Recover a lost or forgotten password"}

{g->text text="Recovering your password requires that your user account has an email address assigned, and that you have access to the listed email address. A confirmation will be emailed to you containing a URL which you must visit to set a new password for your account. To prevent abuse, password recovery requests can not be attempted more than once in a 20 minute period. A recovery confirmation is valid for seven days. If it is not used during that time, it will be purged from the system and a new request will have to be made."}
{if isset($status.requestSent)}
{capture name="adminResetUrl"} {/capture}

{g->text text="Your recovery request has been sent!"}

{g->text text="Note that if the account does not have an email address, you may not receive the email and you should contact your system administrator for help."}

{g->text text="Administrators can use the %sEmergency Password Recovery%s page to recover the admin account if they fail to receive recovery email due to server problems, or lack of a working email address." arg1=$smarty.capture.adminResetUrl arg2="
"}
{else}

{g->text text="Username"}

{if isset($form.error.userName.missing)}
{g->text text="You must enter a username"}
{/if}
{* Include our extra ItemAddOptions *} {foreach from=$UserRecoverPassword.plugins item=plugin} {include file="gallery:`$plugin.file`" l10Domain=$plugin.l10Domain} {/foreach}
{/if}