Iterate Auth copy

This commit is contained in:
Michael Telatynski 2020-11-23 11:28:49 +00:00
parent 2263280035
commit 613710b75c
7 changed files with 48 additions and 35 deletions

View file

@ -670,9 +670,11 @@ export default class LoginComponent extends React.Component<IProps, IState> {
</div>;
} else if (SettingsStore.getValue(UIFeature.Registration)) {
footer = (
<a className="mx_AuthBody_changeFlow" onClick={this.onTryRegisterClick} href="#">
{ _t('Create account') }
</a>
<span className="mx_AuthBody_changeFlow">
{_t("New? <a>Create account</a>", {}, {
a: sub => <a onClick={this.onTryRegisterClick} href="#">{ sub }</a>,
})}
</span>
);
}