Skip to content

Commit

Permalink
Redirect signup to auth even if a user exists already
Browse files Browse the repository at this point in the history
  • Loading branch information
jholmstadt authored and jholmstadt committed Oct 31, 2018
1 parent 0ab01fb commit ced3e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Expand Up @@ -256,6 +256,7 @@ app.get('/user/create', function(req, res) {
} else {
console.log('there is a user')
console.log(thisUser)
res.redirect(`/auth?slackUsername=${thisUser.slackUsername}`)
}
}).catch(err => {
console.log(err)
Expand Down

0 comments on commit ced3e71

Please sign in to comment.