authentication
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -29,4 +29,3 @@ /** | ||
req.login = | ||
req.logIn = | ||
req.logInSession = function (user, options, done) { | ||
req.logIn = function (user, options, done) { | ||
if (typeof options == 'function') { | ||
@@ -53,2 +52,3 @@ done = options; | ||
this._passport.session.user = user._id; | ||
this._passport.session.usertype = user.type; | ||
done(); | ||
@@ -55,0 +55,0 @@ } else { |
{ | ||
"name": "authentication", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "just like passport", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6921
1