@nibssplc/cams-sdk-react 0.0.1-beta.87 → 0.0.1-beta.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -484,6 +484,7 @@ function useCAMSMSALAuth(options) {
|
|
|
484
484
|
setRequiresMFA(false);
|
|
485
485
|
if (typeof window !== "undefined") {
|
|
486
486
|
localStorage.removeItem(storageKey);
|
|
487
|
+
// deleteCookie("CAMS-MSAL-AUTH-SDK-PROFILE");
|
|
487
488
|
}
|
|
488
489
|
return [3 /*break*/, 3];
|
|
489
490
|
case 2:
|
|
@@ -1159,7 +1160,6 @@ function CAMSProviderCore(props) {
|
|
|
1159
1160
|
auth.isAuthenticated) {
|
|
1160
1161
|
// MFA completed, extract profile from localStorage
|
|
1161
1162
|
var storedData = localStorage.getItem(auth.storageKey);
|
|
1162
|
-
console.log("MFA Complete - Checking for profile:", storedData);
|
|
1163
1163
|
if (storedData) {
|
|
1164
1164
|
try {
|
|
1165
1165
|
var parsed = JSON.parse(storedData);
|