Skip to content

Commit

Permalink
adding redirect for double set usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
btouellette committed May 15, 2020
1 parent 8aa2bfb commit 5f59054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ module.exports = function(app, passport, client) {
}
} else {
console.log(req.headers['x-request-id'] + ' - already has username');
res.redirect('/game');
}
});

Expand Down

0 comments on commit 5f59054

Please sign in to comment.