diff --git a/src/RESTController.js b/src/RESTController.js index 75b30a759..73c962cff 100644 --- a/src/RESTController.js +++ b/src/RESTController.js @@ -18,6 +18,7 @@ export type RequestOptions = { progress?: any, context?: any, usePost?: boolean, + ignoreEmailVerification?: boolean, }; export type FullOptions = { @@ -249,6 +250,10 @@ const RESTController = { } } + if (options.ignoreEmailVerification !== undefined) { + payload.ignoreEmailVerification = options.ignoreEmailVerification; + } + if (CoreManager.get('FORCE_REVOCABLE_SESSION')) { payload._RevocableSession = '1'; }