Browse Source

wip to Core

pull/1/head
Rob Colbert 3 years ago
parent
commit
3de4c75eb7
  1. 4
      app/services/oauth2.js

4
app/services/oauth2.js

@ -64,14 +64,14 @@ class OAuth2Service extends SiteService {
attachRoutes (app) {
app.get(
'/oauth2/authorize',
ensureLoggedIn('/welcome/login'),
ensureLoggedIn.ensureLoggedIn('/welcome/login'),
this.server.authorize(this.processAuthorize.bind(this)),
this.renderAuthorizeDialog.bind(this),
);
app.post(
'/oauth2/authorize/decision',
ensureLoggedIn('/welcome/login'),
ensureLoggedIn.ensureLoggedIn('/welcome/login'),
this.server.decision(),
);

Loading…
Cancel
Save