Skip to content

Commit

Permalink
Limit bio and username size (#5257)
Browse files Browse the repository at this point in the history
Do not show in changelog
  • Loading branch information
ClementPasteau committed Apr 25, 2023
1 parent 73ac71d commit f91bde1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions newIDE/app/src/Profile/EditProfileDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ const EditProfileDialog = ({
}}
disabled={actionInProgress}
floatingLabelFixed
maxLength={10000}
/>
<CommunityLinkLine
id="personalWebsiteLink"
Expand Down
1 change: 1 addition & 0 deletions newIDE/app/src/Profile/UsernameField.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export const UsernameField = ({
)
}
disabled={disabled}
maxLength={50}
/>
);
};

0 comments on commit f91bde1

Please sign in to comment.