Skip to content

Commit

Permalink
Fixed auth.js verify account
Browse files Browse the repository at this point in the history
  • Loading branch information
eegnom1807 committed Nov 6, 2017
1 parent 9f7c241 commit 4fa923e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }));
Expand Down

0 comments on commit 4fa923e

Please sign in to comment.