
---+ Change E-mail Address
%STARTINCLUDE%

%MAKETEXT{"This form is used to change your registered e-mail addresses. Your registered e-mails are used by TWiki for sending you e-mails, include notifications of password changes. The addresses you register via this form are kept secret and will *not* be published anywhere on this site."}%

%X% __Security Note__: %MAKETEXT{"You really ought to register a valid e-mail address. If TWiki can't find a registered e-mail for you in the secret database, it will look in your user topic for a line like this:"}%
<verbatim>
   * Set Email = user@example.com
</verbatim>
%MAKETEXT{"If your user topic is not protected from changes by other people, and you don't register an e-mail address using this form, then your user account could be hijacked by someone else."}%

%MAKETEXT{"If your old e-mail addresses are all invalid (you can't receive mail there any more) and you have forgotten your password, please contact [_1] for help." args="%WIKIWEBMASTER%"}%

Registered e-mail addresses for currently logged in user (=%USERINFO{format="$wikiname"}%=): %USERINFO{format="$emails"}% 

%MAKETEXT{"[_1] has a list of other TWiki users." args="%MAINWEB%.%WIKIUSERSTOPIC%"}%

<form name="passwd" action="%SCRIPTURLPATH{"passwd"}%/%WEB%/%TOPIC%" method="post">
<div class="twikiFormSteps">
<div class="twikiFormStep twikiLast">
%TABLE{databg=""}%
|  %MAKETEXT{"Your [_1].LoginName" args="%TWIKIWEB%"}%: | <input type="text" name="username" value="%URLPARAM{"username" default="%USERNAME%"}%" size="40" /> =<font color="red">**</font>= |
|  %MAKETEXT{"Password"}%: | <input type="password" name="oldpassword" value="%URLPARAM{oldpassword}%" size="40" /> =<font color="red">**</font>= |
|  %MAKETEXT{"New e-mails (space-separated list)"}%: | <input type="text" name="email" size="40" /> =<font color="red">**</font>= |
|  &nbsp;<input type="hidden" name="TopicName" value="%TOPIC%" /><input type="hidden" name="action" value="changePassword" /> | <input type="submit" class="twikiSubmit" value="Change e-mail address" /> &nbsp;&nbsp; (%MAKETEXT{"Fields marked [_1] are required" args="=<font color='red'>**</font>="}%) |
</div><!-- /twikiFormStep-->
</div><!-- /twikiFormSteps-->
</form>

%MAKETEXT{"After submitting this form your e-mail will be changed, and you will be returned to this form."}%

%MAKETEXT{"If you have any questions, please contact [_1]." args="%WIKIWEBMASTER%"}%

__%MAKETEXT{"Related topics:"}%__ ChangePassword, ResetPassword, UserToolsCategory, AdminToolsCategory

%STOPINCLUDE%

<table bgcolor="yellow"><tr><td>
__Note to administrator:__ This form applies only if TWiki uses  a {PasswordManager} that supports storing e-mails (e.g. TWiki::Users::HtPasswdUser). Otherwise replace this topic with a note describing how to change registered e-mail in your organization).
</td></tr></table>
