@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.cjs.js
CHANGED
|
@@ -505,6 +505,7 @@ function useCAMSMSALAuth(options) {
|
|
|
505
505
|
setRequiresMFA(false);
|
|
506
506
|
if (typeof window !== "undefined") {
|
|
507
507
|
localStorage.removeItem(storageKey);
|
|
508
|
+
// deleteCookie("CAMS-MSAL-AUTH-SDK-PROFILE");
|
|
508
509
|
}
|
|
509
510
|
return [3 /*break*/, 3];
|
|
510
511
|
case 2:
|
|
@@ -1180,7 +1181,6 @@ function CAMSProviderCore(props) {
|
|
|
1180
1181
|
auth.isAuthenticated) {
|
|
1181
1182
|
// MFA completed, extract profile from localStorage
|
|
1182
1183
|
var storedData = localStorage.getItem(auth.storageKey);
|
|
1183
|
-
console.log("MFA Complete - Checking for profile:", storedData);
|
|
1184
1184
|
if (storedData) {
|
|
1185
1185
|
try {
|
|
1186
1186
|
var parsed = JSON.parse(storedData);
|