Skip to content

Commit 1986792

Browse files
Merge pull request #5006 from OneCommunityGlobal/Diya_Fix_PasswordIssues
Diya 🔥 Fixed Password related issues
2 parents a0575af + 0a559a5 commit 1986792

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Login/Login.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Login extends Form {
4343
}
4444
}
4545
}
46-
if (prevProps.errors.email !== this.props.errors.email) {
46+
if (prevProps.errors !== this.props.errors) {
4747
this.setState({ errors: this.props.errors });
4848
}
4949
}

src/components/WeeklySummariesReport/PasswordInputModal.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export default function PasswordInputModal({
105105
type={showPassword ? 'text' : 'password'}
106106
name="passwordField"
107107
id="passwordField"
108+
autoComplete="current-password"
108109
value={passwordField}
109110
onChange={onChangeFunc}
110111
data-testid="password-input"

0 commit comments

Comments
 (0)