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

clever-auth

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clever-auth - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

5

controllers/UserController.js

@@ -44,5 +44,8 @@ var crypto = require( 'crypto' )

? parts.pop()
: false
, method = req.method
? req.method.toLowerCase()
: false;
if ( req.isAuthenticated() || ( route === 'user' && ( action === 'login' || action === 'current' ) ) ) {
if ( req.isAuthenticated() || ( route === 'user' && ( method === 'post' || action === 'login' || action === 'current' ) ) ) {
return next();

@@ -49,0 +52,0 @@ }

2

package.json
{
"name": "clever-auth",
"version": "0.1.2",
"version": "0.1.3",
"dependencies": {

@@ -5,0 +5,0 @@ "passport": "^0.2.0",

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