diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-12-30 15:37:05 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-12-30 15:37:05 -0800 |
| commit | 7785677b084c8d3d5b0aa61d1dff965ac28e2746 (patch) | |
| tree | 2e4dcf28ffaaeab22808b5afcf456e882611931e /fs_selfservice/FS-SelfService/cgi/forgot_password.html | |
| parent | e3fc2789a074dc4a64bc16651f72b343b4d3a4c4 (diff) | |
self-service access for contacts, RT#25533
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/forgot_password.html')
| -rw-r--r-- | fs_selfservice/FS-SelfService/cgi/forgot_password.html | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/forgot_password.html b/fs_selfservice/FS-SelfService/cgi/forgot_password.html index e14034c7d..607151138 100644 --- a/fs_selfservice/FS-SelfService/cgi/forgot_password.html +++ b/fs_selfservice/FS-SelfService/cgi/forgot_password.html @@ -9,7 +9,8 @@ <FONT SIZE=5>Forgot password</FONT><BR><BR> <FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT> -<FORM ACTION="<%= $self_url %>" METHOD=POST> +<%= $selfurl =~ s/\?.*//; ''; %> +<FORM ACTION="<%= $selfurl %>" METHOD=POST> <INPUT TYPE="hidden" NAME="action" VALUE="do_forgot_password"> <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agentnum %>"> @@ -17,25 +18,26 @@ Please enter your email address. A password reset email will be sent to that ad <TABLE BGCOLOR="<%= $box_bgcolor || '#c0c0c0' %>" BORDER=0 CELLSPACING=2 CELLPADDING=0> -<TR> - <TH ALIGN="right">Email address </TH> - <TD> - <INPUT TYPE="text" NAME="email" VALUE="<%= $username %>"><%= $single_domain ? '@'.$single_domain : '' %> - </TD> -</TR> - <%= if ( $single_domain ) { - $OUT .= qq(<INPUT TYPE="hidden" NAME="domain" VALUE="$single_domain">); + $OUT .= qq( + <TR> + <TH ALIGN="right">Username </TH> + <TD> + <INPUT TYPE="text" NAME="username" VALUE="$username">\@$single_domain + </TD> + </TR> + <INPUT TYPE="hidden" NAME="domain" VALUE="$single_domain"> + ); } else { $OUT .= qq( <TR> - <TH ALIGN="right">Domain </TH> + <TH ALIGN="right">Email address </TH> <TD> - <INPUT TYPE="text" NAME="domain" VALUE="$domain"> + <INPUT TYPE="text" NAME="email" VALUE="$email"> </TD> </TR> ); |
