Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

authentication

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authentication - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

lib/http/request.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc