@adastradev/user-management-sdk
Advanced tools
Comparing version 4.1.0-beta.1692285977035 to 4.1.0-beta.1692364385248
@@ -118,3 +118,2 @@ "use strict"; | ||
// These attributes are not mutable and should be removed from map. | ||
console.log("newPasswordRequired - current userAttributes - " + JSON.stringify(userAttributes)); | ||
delete userAttributes.email_verified; | ||
@@ -124,3 +123,2 @@ delete userAttributes['custom:tenant_id']; | ||
delete userAttributes['custom:role']; | ||
console.log("newPasswordRequired - current userAttributes (after cleaning) - " + JSON.stringify(userAttributes)); | ||
that.cognitoUser.completeNewPasswordChallenge(newPassword, userAttributes, { | ||
@@ -127,0 +125,0 @@ onFailure: function (err) { |
{ | ||
"name": "@adastradev/user-management-sdk", | ||
"version": "4.1.0-beta.1692285977035", | ||
"version": "4.1.0-beta.1692364385248", | ||
"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
62646
819