Agregue Ojo para Password, ademas en register, y acomode seeder.

This commit is contained in:
2026-04-05 22:57:11 -03:00
parent 7a884d73a1
commit cf0b40d79e
3 changed files with 102 additions and 77 deletions
+9
View File
@@ -128,4 +128,13 @@ $(document).on('click', '#togglePassword', function () {
input.attr('type', isPassword ? 'text' : 'password');
$('#iconShow').toggleClass('hidden', isPassword);
$('#iconHide').toggleClass('hidden', !isPassword);
});
$(document).on('click', '#togglePasswordConfirm', function () {
const input = $('#passwordConfirmInput');
const isPassword = input.attr('type') === 'password';
input.attr('type', isPassword ? 'text' : 'password');
$('#iconShowConfirm').toggleClass('hidden', isPassword);
$('#iconHideConfirm').toggleClass('hidden', !isPassword);
});