Add url param defaultUsername to prefill the login username field

Signed-off-by: David Schilling <dschilling@churchtools.de>
This commit is contained in:
David Schilling
2021-05-25 10:39:33 +02:00
parent 7123abc122
commit 5c674365d3
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -2090,6 +2090,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
onForgotPasswordClick={showPasswordReset ? this.onForgotPasswordClick : undefined}
onServerConfigChange={this.onServerConfigChange}
fragmentAfterLogin={fragmentAfterLogin}
defaultUsername={this.props.startingFragmentQueryParams.defaultUsername}
{...this.getServerProperties()}
/>
);