direct to keys as main page

pull/42/head
unknown 2019-02-26 20:04:09 -05:00
parent 4bcb64ed56
commit 996be514e0
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ module.exports = {
if (req.query.next) {
res.status(302).set('Location', req.query.next)
} else if (req.query.code) { // if came from oauth callback
res.status(302).set('Location', '/targets')
res.status(302).set('Location', '/keys')
}
sails.log.info('user', user, 'authenticated successfully')