From e697d3d276f1c472eb472a5f90bfd0f7e2f79f84 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 24 Dec 2018 16:16:26 +0000 Subject: [PATCH] Make it clearer that the first encryption password entered sets it. Fixes #26 --- src/components/LoginForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LoginForm.tsx b/src/components/LoginForm.tsx index 417bb93..eaabedb 100644 --- a/src/components/LoginForm.tsx +++ b/src/components/LoginForm.tsx @@ -165,7 +165,7 @@ class LoginForm extends React.PureComponent { type="password" style={styles.textField} 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" name="encryptionPassword" value={this.state.encryptionPassword}