Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
try 4
Browse files Browse the repository at this point in the history
  • Loading branch information
loimax committed Jan 25, 2024
1 parent b8a5e06 commit ae9fb40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,9 @@ <h1 class="text-left">Templates de VMs</h1>
var newPassword2 = $('#new_password2').val();

changePassword(userId, newPassword, newPassword2);
// CLear form
$('#editUserForm').trigger('reset');
// CLear new password fields*
$('#new_password').val('');
$('#new_password2').val('');

$('#editUserModal').modal('hide');
});
Expand Down

0 comments on commit ae9fb40

Please sign in to comment.