// Toggle password visibility document.querySelectorAll('.toggle-pw').forEach(icon => icon.addEventListener('click', (e) => const targetId = icon.getAttribute('data-target'); const input = document.getElementById(targetId); if (input.type === 'password') input.type = 'text'; icon.textContent = '🙈'; else input.type = 'password'; icon.textContent = '👁️';
const strengthMap = 0: width: '0%', text: 'Very weak', color: '#e74c3c' , 1: width: '20%', text: 'Weak', color: '#e67e22' , 2: width: '40%', text: 'Fair', color: '#f1c40f' , 3: width: '60%', text: 'Good', color: '#3498db' , 4: width: '80%', text: 'Strong', color: '#2ecc71' , 5: width: '100%', text: 'Very strong', color: '#27ae60' ; Mobcash Password Change
.footer text-align: center; margin-top: 20px; // Toggle password visibility document
module.exports = router; const express = require('express'); const mongoose = require('mongoose'); const cors = require('cors'); require('dotenv').config(); const authRoutes = require('./routes/auth'); const targetId = icon.getAttribute('data-target')
.input-group label display: block; margin-bottom: 8px; font-weight: 600; color: #444; font-size: 0.9rem;