@adastradev/user-management-sdk
Advanced tools
Comparing version 5.0.2-beta.1709659192395 to 5.0.2-beta.1709754012439
@@ -115,4 +115,2 @@ "use strict"; | ||
if (newPassword) { | ||
console.log('newpasswordrequired'); | ||
console.log(userAttributes); | ||
// User was signed up by an admin and must provide new | ||
@@ -125,8 +123,4 @@ // password and required attributes | ||
delete userAttributes['custom:role']; | ||
delete userAttributes['custom:family_name']; | ||
delete userAttributes['custom:given_name']; | ||
console.log(userAttributes); | ||
delete userAttributes.family_name; | ||
delete userAttributes.given_name; | ||
console.log(userAttributes); | ||
that.cognitoUser.completeNewPasswordChallenge(newPassword, userAttributes, { | ||
@@ -133,0 +127,0 @@ onFailure: function (err) { |
{ | ||
"name": "@adastradev/user-management-sdk", | ||
"version": "5.0.2-beta.1709659192395", | ||
"version": "5.0.2-beta.1709754012439", | ||
"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
62770
821