From 4e7a71671bd21a4138909374b1124d269493551e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Jun 2020 17:05:54 +0300 Subject: feat: setup config --- config/default.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/default.json (limited to 'config') 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" + } + } +} -- cgit v1.2.3