Make it clearer that the first encryption password entered sets it.

Fixes #26
master
Tom Hacohen 6 years ago
parent e3e4a5288a
commit e697d3d276

@ -165,7 +165,7 @@ class LoginForm extends React.PureComponent {
type="password" type="password"
style={styles.textField} style={styles.textField}
error={!!this.state.errors.errorEncryptionPassword} error={!!this.state.errors.errorEncryptionPassword}
helperText={this.state.errors.errorEncryptionPassword} helperText={this.state.errors.errorEncryptionPassword || 'Choose a new one if not already set'}
label="Encryption Password" label="Encryption Password"
name="encryptionPassword" name="encryptionPassword"
value={this.state.encryptionPassword} value={this.state.encryptionPassword}

Loading…
Cancel
Save