Fix broken i18n in Forgot & Change password (#7252)

This commit is contained in:
Michael Telatynski 2021-12-01 17:33:55 +00:00 committed by GitHub
parent 11aa362eda
commit 5e77822bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -315,9 +315,9 @@ export default class ForgotPassword extends React.Component<IProps, IState> {
/>
<PassphraseConfirmField
name="reset_password_confirm"
label={_t('Confirm')}
labelRequired={_t("A new password must be entered.")}
labelInvalid={_t("New passwords must match each other.")}
label={_td('Confirm')}
labelRequired={_td("A new password must be entered.")}
labelInvalid={_td("New passwords must match each other.")}
value={this.state.password2}
password={this.state.password}
fieldRef={field => this[ForgotPasswordField.PasswordConfirm] = field}