Config fix

This commit is contained in:
zuk 2017-02-26 11:48:53 +01:00
parent a497a0215c
commit 1b67136579
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/*
create a db_config.json here's
create a db_config.json here's a sample
*/
{
"config": {

View file

@ -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'))