Skip to content

Commit cbddbb7

Browse files
Revert "IUM-415: Enable the root attribute migration script"
1 parent bd4c082 commit cbddbb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rules/migrate-root-attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @title Move user_metadata attributes to profile root attributes.
33
* @overview Moves select data from user_metadata to profile root attributes (family_name, given_name, name, nickname and picture).
4-
* @gallery true
4+
* @gallery false
55
* @category enrich profile
66
*
77
* This rule moves select data from user_metadata to profile root attributes (family_name, given_name, name, nickname and picture).
@@ -11,7 +11,7 @@
1111
*
1212
* 1- The rule updates the profile root attribute with the mapped field from user_metadata.
1313
* 2- The mapped fields from user_metadata will be removed following the update.
14-
* 3- This rule will be executed on each login event. For signup scenarios, you should only consider using this rule if you currently use a custom signup form or Authentication Signup API, as these signup methods do not support setting the root attributes.
14+
* 3- This rule will be executed on each login event. Consider using it only if you use a custom signup form or Authentication Signup API.
1515
*/
1616
function (user, context, cb) {
1717
// Field Mapping, the property is the root attribute and the value is the field name on user_metadata.

0 commit comments

Comments
 (0)