[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] UserDB change_pass
Hello,
I am having a problem in Interchange version 4.6.3. I am confused by
some of the behavior of the change_pass function for the userdb tag. I
have written some code to change the password and for the most part it
works fine. But the mv_nextpage value that I set is being ignored. So
instead of the page I want being loaded after the password changes,
instead the missing.html page appears. It is almost as if change_pass
has a page that it defaults to. I have found nothing in the docs about
such a page.
Included below is a snippet of the code. Please let me know if you
have run into this before or know what I am doing wrong. Thanks.
<form name="change_pass" action="[process-target]" method=post>
<table cellpadding="0" cellspacing="0" class="Table1Back" width="600">
<tr>
<td colspan="4"><b>login information</b></td>
</tr>
<tr>
<td><span class="Red">Username</span></td>
<td>[value mv_username]</td>
<td>New Password</td>
<td><input type="password" name="mv_password" align="left" size="15"
VALUE="" MAXLENGTH="20"></td>
</tr>
<tr>
<td><span class="Red">Password</span></td>
<td><input type="password" name="mv_password_old" align="left"
size="15" VALUE="" MAXLENGTH="20"></td>
<td><span class="Red">Verify Password </span></td>
<td><input type="password" name="mv_verify" align="left" size="15"
VALUE="" MAXLENGTH="20"></td>
</tr>
<tr>
<td colspan="4" align="right">
<input type="hidden" NAME="mv_check" VALUE="change_pass">
<input type="hidden" NAME="mv_todo" value="return">
<input type="hidden" NAME="mv_nextpage" value="UserEdit">
[set change_pass]
[userdb function=change_pass
username="[value mv_username]"
password="[value mv_password]"
verify="[value mv_verify]"
oldpass="[value mv_password_old]"
]
[/set]
<img src="__IMAGE_DIR__/shim.gif" height="1" width="27" /><a
href="Javascript:document.change_pass.submit()"
onmouseover="ChangeImage('changePassword','changePassword_over')"
onmouseout="ChangeImage('changePassword','changePassword_off')"><img
name="changePassword" src="__IMAGE_DIR__/buttons/changePassword_off.gif"
alt="change password" border="0" /></a>
</td>
</tr>
</table>
</form>
PJC
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users