Validate matrix id on the front end. Fixes #245

This commit is contained in:
Dessalines 2021-04-09 00:20:34 -04:00
parent 2cde42a48a
commit 9305b24794
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ export class Person extends Component<any, PersonState> {
this,
this.handleUserSettingsMatrixUserIdChange
)}
minLength={3}
pattern="^@[A-Za-z0-9._=-]+:[A-Za-z0-9.-]+\.[A-Za-z]{2,}$"
/>
</div>
</div>