Skip to content

Commit

Permalink
Merge pull request #131 from MGLL/fix/username-same-as-email
Browse files Browse the repository at this point in the history
🐛 wrong condition for username same as email
  • Loading branch information
pnzrr authored Feb 14, 2024
2 parents fcda1b7 + d3fdb24 commit 732b415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/profile/components/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ProfileData = () => {
</div>
<form className="max-w-xl space-y-4" onSubmit={handleSubmit(onSubmit)}>
<>
{!featureFlags.registrationEmailAsUsername ? (
{featureFlags.registrationEmailAsUsername ? (
// Username is email, can edit username but must be a valid email
<RHFFormTextInputWithLabel
slug="username"
Expand Down

0 comments on commit 732b415

Please sign in to comment.