From 1b67136579796506f70a2ff1675954de36fa188d Mon Sep 17 00:00:00 2001 From: Andrea Zucchelli Date: Sun, 26 Feb 2017 11:48:53 +0100 Subject: [PATCH] Config fix --- config.sample.json | 2 +- server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.sample.json b/config.sample.json index 49a3ce9..4868b13 100644 --- a/config.sample.json +++ b/config.sample.json @@ -1,5 +1,5 @@ /* -create a db_config.json here's +create a db_config.json here's a sample */ { "config": { diff --git a/server.py b/server.py index 90e40ac..5068cd0 100644 --- a/server.py +++ b/server.py @@ -62,7 +62,7 @@ def enableCORSGenericRoute(): load_config() -install(JwtPlugin(password_manager.login_validation,CONFIG['jwt_secret'], algorithm='HS256')) +install(JwtPlugin(password_manager.login_validation,CONFIG['jwt']['secret'], algorithm='HS256'))