projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
forgot_password.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/forgot_password.html
b/fs_selfservice/FS-SelfService/cgi/forgot_password.html
index
e14034c
..
a1ce851
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/forgot_password.html
+++ b/
fs_selfservice/FS-SelfService/cgi/forgot_password.html
@@
-9,33
+9,35
@@
<FONT SIZE=5>Forgot password</FONT><BR><BR>
<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
<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 %>">
<INPUT TYPE="hidden" NAME="action" VALUE="do_forgot_password">
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agentnum %>">
-Please enter your email address. A password reset email will be sent to that address.
+Please enter your email address. A password reset email will be sent to that address.
<BR><BR>
<TABLE BGCOLOR="<%= $box_bgcolor || '#c0c0c0' %>" BORDER=0 CELLSPACING=2 CELLPADDING=0>
<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 ) {
<%=
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>
} else {
$OUT .= qq(
<TR>
- <TH ALIGN="right">
Domain
</TH>
+ <TH ALIGN="right">
Email address
</TH>
<TD>
<TD>
- <INPUT TYPE="text" NAME="
domain" VALUE="$domain
">
+ <INPUT TYPE="text" NAME="
email" VALUE="$email
">
</TD>
</TR>
);
</TD>
</TR>
);