1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Merge pull request #5674 from churchtools/default-username

Add url param `defaultUsername` to prefill the login username field
This commit is contained in:
J. Ryan Stinnett
2021-06-01 10:12:31 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@ -2091,6 +2091,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()}
/>
);