account/change-password refactor a bit

Add "The old password is same as the new password!"
Better post variables names
This commit is contained in:
slawkens
2025-10-16 21:36:14 +02:00
parent 470555f268
commit 16849e7578
2 changed files with 13 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ Please enter your current password and a new password. For your security, please
<span>Current Password:</span>
</td>
<td>
<input form="form" type="password" name="oldpassword" size="30" maxlength="29">
<input form="form" type="password" id="old_password" name="old_password" size="30" maxlength="29">
</td>
</tr>
@@ -20,7 +20,7 @@ Please enter your current password and a new password. For your security, please
<span>New Password:</span>
</td>
<td style="width:90%;">
<input form="form" type="password" name="newpassword" size="30" maxlength="29">
<input form="form" type="password" id="new_password" name="new_password" size="30" maxlength="29">
</td>
</tr>
@@ -31,7 +31,7 @@ Please enter your current password and a new password. For your security, please
<span>New Password Again:</span>
</td>
<td>
<input form="form" type="password" name="newpassword_confirm" size="30" maxlength="29">
<input form="form" type="password" id="new_password_confirm" name="new_password_confirm" size="30" maxlength="29">
</td>
</tr>
</table>