nodebb-plugin-sso-linkedin-oauth2
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -7,3 +7,2 @@ (function(module) { | ||
db = module.parent.require('../src/database'), | ||
shortId = require('shortid'), | ||
passport = module.parent.require('passport'), | ||
@@ -128,3 +127,3 @@ passportLinkedIn = require('passport-linkedin-oauth2').Strategy, | ||
if (!uid) { | ||
User.create({username: shortId.generate(), email: email}, function(err, uid) { | ||
User.create({username: handle, email: email}, function(err, uid) { | ||
if(err) { | ||
@@ -131,0 +130,0 @@ return callback(err); |
{ | ||
"name": "nodebb-plugin-sso-linkedin-oauth2", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "NodeBB LinkedIn SSO OAuth2", | ||
@@ -24,4 +24,3 @@ "main": "library.js", | ||
"dependencies": { | ||
"passport-linkedin-oauth2": "joe1chen/passport-linkedin-oauth2#auto-state", | ||
"shortid": "^2.1.2" | ||
"passport-linkedin-oauth2": "joe1chen/passport-linkedin-oauth2#auto-state" | ||
}, | ||
@@ -28,0 +27,0 @@ "homepage": "https://github.com/joe1chen/nodebb-plugin-sso-linkedin-oauth2", |
Sorry, the diff of this file is not supported yet
1
26295
165
- Removedshortid@^2.1.2
- Removednanoid@3.3.8(transitive)
- Removedshortid@2.2.17(transitive)