Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zkrising committed Aug 11, 2023
1 parent ad03537 commit 919213b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/src/app/pages/dashboard/users/UserSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ export function AccountSettings({ reqUser }: { reqUser: UserDocument }) {
placeholder="Your Current Password"
onChange={formikEmail.handleChange}
/>
{formikEmail.values["!password"].length < 8 && (
<Form.Text className="text-warning">
Passwords have to be at least 8 characters long.
</Form.Text>
)}
</Form.Group>
<Form.Group>
<Form.Label>New Email</Form.Label>
Expand All @@ -160,11 +165,6 @@ export function AccountSettings({ reqUser }: { reqUser: UserDocument }) {
placeholder="New Email"
onChange={formikEmail.handleChange}
/>
{formikEmail.values["!password"].length < 8 && (
<Form.Text className="text-warning">
Passwords have to be at least 8 characters long.
</Form.Text>
)}
</Form.Group>
<Form.Group>
<Form.Label>Confirm New Email</Form.Label>
Expand Down

0 comments on commit 919213b

Please sign in to comment.