renamed auth route

This commit is contained in:
Danny Coates 2018-09-26 12:22:04 -07:00
parent 88db2c1cf4
commit a997a44a23
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ module.exports = function() {
app.route('/error', body(require('../pages/error')));
app.route('/blank', body(require('../pages/blank')));
app.route('/signin', body(require('../pages/signin')));
app.route('/api/fxa/oauth', async function(state, emit) {
app.route('/oauth', async function(state, emit) {
try {
await state.user.finishLogin(state.query.code, state.query.state);
emit('replaceState', '/');