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

auth

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

browser/account.js

@@ -12,5 +12,3 @@ var structr = require("structr"),

console.log(host);
// console.log(window.location)

@@ -17,0 +15,0 @@ var Account;

6

lib/models/account.js

@@ -218,2 +218,5 @@ var access = require("../access"),

var on = outcome.error(callback);
//email must be lower case - it generally is. What if they're signing up on an apple device?
acc.email = acc.email.toLowerCase();

@@ -249,6 +252,9 @@ step(

authFields.forEach(function(fieldName) {
q[fieldName] = fieldName == "password" ? hashPass(String(credentials.password)) : credentials[fieldName];
if(fieldName == "email") q[fieldName] = String(credentials[fieldName]).toLowerCase();
});
this.findOne(q, outcome.error(callback).success(function(account) {

@@ -255,0 +261,0 @@ if(!account) return callback(new comerr.IncorrectInput("Incorrect email / password"));

{
"name": "auth",
"version": "0.0.8",
"version": "0.0.9",
"description": "ERROR: No README.md file found!",

@@ -5,0 +5,0 @@ "main": "./lib/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