Default auto refresh to false

This commit is contained in:
rijkvanzanten
2020-11-25 18:45:10 -05:00
parent 8272786315
commit d92f670217

View File

@@ -33,7 +33,8 @@ class DirectusSDK {
storage:
options?.auth?.storage !== undefined ? options.auth.storage : new MemoryStore(),
mode: options?.auth?.mode !== undefined ? options.auth.mode : 'cookie',
autoRefresh: options?.auth?.autoRefresh !== undefined ? options.auth.autoRefresh : true,
autoRefresh:
options?.auth?.autoRefresh !== undefined ? options.auth.autoRefresh : false,
};
}