diff options
author | 2019-11-27 22:02:18 +0700 | |
---|---|---|
committer | 2019-11-27 22:02:18 +0700 | |
commit | 7a0453ebd728092f05ee65abc1a7c3efdda168d1 (patch) | |
tree | f648f20a4edd9159761eeeb49323b836606e7b7f /src/components/auth/Locked.js | |
parent | Revert "Deprecate electron-rebuild, follow electron-builder suggestion" (diff) | |
download | ferdium-app-7a0453ebd728092f05ee65abc1a7c3efdda168d1.tar.gz ferdium-app-7a0453ebd728092f05ee65abc1a7c3efdda168d1.tar.zst ferdium-app-7a0453ebd728092f05ee65abc1a7c3efdda168d1.zip |
#232 Remove default lock password behavior, allow empty password
Diffstat (limited to 'src/components/auth/Locked.js')
-rw-r--r-- | src/components/auth/Locked.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/components/auth/Locked.js b/src/components/auth/Locked.js index 045621d0a..ca571f20e 100644 --- a/src/components/auth/Locked.js +++ b/src/components/auth/Locked.js | |||
@@ -4,7 +4,6 @@ import { observer } from 'mobx-react'; | |||
4 | import { defineMessages, intlShape } from 'react-intl'; | 4 | import { defineMessages, intlShape } from 'react-intl'; |
5 | 5 | ||
6 | import Form from '../../lib/Form'; | 6 | import Form from '../../lib/Form'; |
7 | import { required } from '../../helpers/validation-helpers'; | ||
8 | import Input from '../ui/Input'; | 7 | import Input from '../ui/Input'; |
9 | import Button from '../ui/Button'; | 8 | import Button from '../ui/Button'; |
10 | import Infobox from '../ui/Infobox'; | 9 | import Infobox from '../ui/Infobox'; |
@@ -50,7 +49,6 @@ export default @observer class Locked extends Component { | |||
50 | password: { | 49 | password: { |
51 | label: this.context.intl.formatMessage(messages.passwordLabel), | 50 | label: this.context.intl.formatMessage(messages.passwordLabel), |
52 | value: '', | 51 | value: '', |
53 | validators: [required], | ||
54 | type: 'password', | 52 | type: 'password', |
55 | }, | 53 | }, |
56 | }, | 54 | }, |