diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-14 17:05:54 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-14 17:11:54 +0300 |
commit | 4e7a71671bd21a4138909374b1124d269493551e (patch) | |
tree | ee86afa08acbbe117b95f683d78bfce0418b635f /config | |
parent | 5b587cff62b584fb5896f910f03f28f80cc28c54 (diff) | |
download | which-api-4e7a71671bd21a4138909374b1124d269493551e.tar.gz |
feat: setup config
Diffstat (limited to 'config')
-rw-r--r-- | config/default.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/default.json b/config/default.json new file mode 100644 index 0000000..141bf4c --- /dev/null +++ b/config/default.json @@ -0,0 +1,14 @@ +{ + "authentication": { + "secret": "2JtbBy2ycQ1V3kQfPcSgXYmFsB7", + "service": "users", + "authStrategies": [ + "jwt", + "local" + ], + "local": { + "usernameField": "name", + "passwordField": "password" + } + } +} |