Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
  • Loading branch information
aldeed committed Dec 30, 2019
1 parent 83e28f9 commit 138282f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/serverAuth.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const OAuth2Strategy = require("passport-oauth2");
const passport = require("passport");
const config = require("./config");
const { decodeOpaqueId } = require("./lib/utils/decoding");
const logger = require("./lib/logger");

let baseUrl = config.CANONICAL_URL;
Expand Down Expand Up @@ -112,7 +111,7 @@ function configureAuthForServer(server) {
res.redirect(url);
});

server.get("/logout", (req, res, next) => {
server.get("/logout", (req, res) => {
req.session.redirectTo = req.get("Referer");

const { idToken } = req.user || {};
Expand Down

0 comments on commit 138282f

Please sign in to comment.