@adastradev/user-management-sdk
Advanced tools
Comparing version 5.0.2-beta.1709653214510 to 5.0.2-beta.1709659192395
@@ -115,2 +115,4 @@ "use strict"; | ||
if (newPassword) { | ||
console.log('newpasswordrequired'); | ||
console.log(userAttributes); | ||
// User was signed up by an admin and must provide new | ||
@@ -125,2 +127,6 @@ // password and required attributes | ||
delete userAttributes['custom:given_name']; | ||
console.log(userAttributes); | ||
delete userAttributes.family_name; | ||
delete userAttributes.given_name; | ||
console.log(userAttributes); | ||
that.cognitoUser.completeNewPasswordChallenge(newPassword, userAttributes, { | ||
@@ -127,0 +133,0 @@ onFailure: function (err) { |
{ | ||
"name": "@adastradev/user-management-sdk", | ||
"version": "5.0.2-beta.1709653214510", | ||
"version": "5.0.2-beta.1709659192395", | ||
"description": "Astra user management SDK for JavaScript in the browser and Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63446
827