Agregue Ojo para Password, ademas en register, y acomode seeder.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
Reference in New Issue
Block a user