Merge pull request #5534 from SimonBrandner/fix-16071

Add <input type="password"> to security key field
This commit is contained in:
J. Ryan Stinnett 2021-01-11 17:13:35 +00:00 committed by GitHub
commit 77f79e599f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry"> <div className="mx_AccessSecretStorageDialog_recoveryKeyEntry">
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput"> <div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput">
<Field <Field
type="text" type="password"
label={_t('Security Key')} label={_t('Security Key')}
value={this.state.recoveryKey} value={this.state.recoveryKey}
onChange={this._onRecoveryKeyChange} onChange={this._onRecoveryKeyChange}