Skip to content

Commit

Permalink
Implment devMode
Browse files Browse the repository at this point in the history
  • Loading branch information
Megapixel99 committed Dec 28, 2020
1 parent 6dd0e6d commit cd0f2c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/passport-cas.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ CasStrategy.prototype.authenticate = function (req, options) {
if (!req._passport) { return this.error(new Error('passport.initialize() middleware not in use')); }
options = options || {};

const self = this;
const reqURL = url.parse(req.originalUrl || req.url, true);
let service;
var self = this;
var reqURL = url.parse(req.originalUrl || req.url, true);
var service;

// The provided `verify` callback will call this on completion
function verified(err, user, info) {
Expand Down

0 comments on commit cd0f2c0

Please sign in to comment.