aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-11-27 22:02:18 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-11-27 22:02:18 +0700
commit7a0453ebd728092f05ee65abc1a7c3efdda168d1 (patch)
treef648f20a4edd9159761eeeb49323b836606e7b7f /src/components
parentRevert "Deprecate electron-rebuild, follow electron-builder suggestion" (diff)
downloadferdium-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')
-rw-r--r--src/components/auth/Locked.js2
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';
4import { defineMessages, intlShape } from 'react-intl'; 4import { defineMessages, intlShape } from 'react-intl';
5 5
6import Form from '../../lib/Form'; 6import Form from '../../lib/Form';
7import { required } from '../../helpers/validation-helpers';
8import Input from '../ui/Input'; 7import Input from '../ui/Input';
9import Button from '../ui/Button'; 8import Button from '../ui/Button';
10import Infobox from '../ui/Infobox'; 9import 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 },