diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-12-21 11:35:00 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-12-21 11:35:00 +0100 |
commit | 2fc67d1c9bc2038179771238a0cb5d58995e05c3 (patch) | |
tree | 93aaaee39bf0ace0b53566ca4b5c2189ace2525c /src/features/basicAuth/Form.js | |
parent | bump version to b22 (diff) | |
download | ferdium-app-2fc67d1c9bc2038179771238a0cb5d58995e05c3.tar.gz ferdium-app-2fc67d1c9bc2038179771238a0cb5d58995e05c3.tar.zst ferdium-app-2fc67d1c9bc2038179771238a0cb5d58995e05c3.zip |
BasicAuth first draft
Diffstat (limited to 'src/features/basicAuth/Form.js')
-rw-r--r-- | src/features/basicAuth/Form.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/features/basicAuth/Form.js b/src/features/basicAuth/Form.js new file mode 100644 index 000000000..95721d0e9 --- /dev/null +++ b/src/features/basicAuth/Form.js | |||
@@ -0,0 +1,17 @@ | |||
1 | import Form from '../../lib/Form'; | ||
2 | |||
3 | export default new Form({ | ||
4 | fields: { | ||
5 | user: { | ||
6 | label: 'user', | ||
7 | placeholder: 'Username', | ||
8 | value: '', | ||
9 | }, | ||
10 | password: { | ||
11 | label: 'Password', | ||
12 | placeholder: 'Password', | ||
13 | value: '', | ||
14 | type: 'password', | ||
15 | }, | ||
16 | }, | ||
17 | }); | ||