diff --git a/src/shared/components/person.tsx b/src/shared/components/person.tsx index 211b229c..57d78aa3 100644 --- a/src/shared/components/person.tsx +++ b/src/shared/components/person.tsx @@ -750,7 +750,7 @@ export class Person extends Component { this, this.handleUserSettingsMatrixUserIdChange )} - minLength={3} + pattern="^@[A-Za-z0-9._=-]+:[A-Za-z0-9.-]+\.[A-Za-z]{2,}$" />