diff --git a/lib/auth.js b/lib/auth.js index a940c61..56b6881 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -38,8 +38,8 @@ function Auth(configuration) { var user_email = body.emails[0]; - //if (user_email == controller.config.allowed_admin) { - if (true) { + if (user_email == controller.config.allowed_admin) { + //if (true) { var jwt_token = jwt.sign(user_email, controller.config.token_secret); res.setHeader('Content-Type', 'application/json'); res.send(JSON.stringify({ 'status': 'success', 'access_token': jwt_token }));