ok
This commit is contained in:
@@ -6,9 +6,9 @@ const AccountUpdatePage = ({ user, showEmail, onSubmit }) => {
|
||||
const [formData, setFormData] = useState({
|
||||
username: user.username || '',
|
||||
email: user.email || '',
|
||||
password: user.password === 'unsetunsetunset' ? '' : user.password || '',
|
||||
password: '●●●●●',
|
||||
});
|
||||
|
||||
|
||||
const [errorMessage, setErrorMessage] = useState('');
|
||||
const [successMessage, setSuccessMessage] = useState(''); // New state for success messages
|
||||
|
||||
@@ -58,7 +58,7 @@ const AccountUpdatePage = ({ user, showEmail, onSubmit }) => {
|
||||
|
||||
<div className={styles.LoginForm}>
|
||||
<div className={`${styles.FormUsername} ${inputtingPassword ? styles.animateForm : wasInputtingPassword ? styles.reverseForm : ''}`}>
|
||||
<label htmlFor="username" className={styles.usernameLabel}>----------------------------------------------</label>
|
||||
<label htmlFor="username" className={styles.usernameLabel}>--------------------------------------------</label>
|
||||
|
||||
<input
|
||||
name="username"
|
||||
@@ -85,7 +85,7 @@ const AccountUpdatePage = ({ user, showEmail, onSubmit }) => {
|
||||
<div className={`${styles.FormPassword} ${inputtingPassword ? styles.animateForm : wasInputtingPassword ? styles.reverseForm : ''}`}>
|
||||
<span>
|
||||
<label onClick={() => setInputtingPassword(false)} htmlFor="password" className={styles.usernameLabel}> <--- <-- kembali </label>
|
||||
<label htmlFor="password" className={styles.usernameLabel}> ------------------------- </label>
|
||||
<label htmlFor="password" className={styles.usernameLabel}>-------------------------</label>
|
||||
</span>
|
||||
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user