@@ -68,6 +91,18 @@
}
}
}
+
+ function togglePasswordVisibility(inputId, iconId) {
+ const passwordInput = document.getElementById(inputId);
+ const eyeIcon = document.getElementById(iconId);
+ if (passwordInput.type === 'password') {
+ passwordInput.type = 'text';
+ eyeIcon.setAttribute('fill', '#12B652');
+ } else {
+ passwordInput.type = 'password';
+ eyeIcon.setAttribute('fill', '#6c757d');
+ }
+ }
@endsection
\ No newline at end of file
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 46aabf6..eca32ae 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -45,11 +45,23 @@