Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function SLStrategy(options, validate) {
if (typeof options === 'function') {
validate = options;
options = {};
}
options = options || {};
Strategy.call(this);
this.name = 'securelogin';
this._passReqToCallback = options.passReqToCallback;
this._verify = validate;
}