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

@orbiting/backend-modules-auth

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orbiting/backend-modules-auth - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="3.0.0"></a>
# 3.0.0 (2018-01-13)
<a name="3.0.1"></a>
## 3.0.1 (2018-01-14)
<a name="3.0.1"></a>
## 3.0.1 (2018-01-14)
### Bug Fixes
* **auth:** autologin ([2f10534](https://github.com/orbiting/backend-modules/commit/2f10534))
<a name="3.0.0"></a>

@@ -7,0 +17,0 @@ # 3.0.0 (2018-01-13)

17

lib/signIn.js

@@ -6,6 +6,6 @@ const uuid = require('uuid/v4')

const geoForIP = require('./geoForIP')
const fetch = require('isomorphic-unfetch')
const checkEnv = require('check-env')
const t = require('./t')
const debug = require('debug')('auth')
const { authorizeSession } = require('./Sessions')
const {

@@ -24,4 +24,2 @@ sendMail,

AUTO_LOGIN,
BASIC_AUTH_USER,
BASIC_AUTH_PASS,
AUTH_MAIL_TEMPLATE_NAME,

@@ -94,13 +92,4 @@ AUTH_MAIL_SUBJECT

setTimeout(async () => {
if (BASIC_AUTH_PASS) {
const result = await fetch(verificationUrl, {
headers: {
'Authorization': 'Basic ' + (Buffer.from(BASIC_AUTH_USER + ':' + BASIC_AUTH_PASS).toString('base64'))
}
})
console.log('AUTO_LOGIN: ' + await result.text())
} else {
const result = await fetch(verificationUrl)
console.log('AUTO_LOGIN: ' + await result.text())
}
console.log('AUTO_LOGIN!')
await authorizeSession({ pgdb, token, emailFromQuery: email })
}, 2000)

@@ -107,0 +96,0 @@ }

{
"name": "@orbiting/backend-modules-auth",
"version": "3.0.0",
"version": "3.0.1",
"description": "auth migrations, seeds, middleware, graphql schema and resolvers",

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