mario-core 2.9.229-sso → 2.9.230-sso
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38326,7 +38326,7 @@ var getInfo$1 = function getInfo() {
|
|
|
38326
38326
|
|
|
38327
38327
|
var msalConfig = {
|
|
38328
38328
|
auth: {
|
|
38329
|
-
clientId: "90c6897c-f17b-475e-a7a8-9a19651e0060",
|
|
38329
|
+
clientId: isLocalhost ? "a27f8ac9-e039-4bbd-a9e1-3096e52a77bb" : "90c6897c-f17b-475e-a7a8-9a19651e0060",
|
|
38330
38330
|
authority: "https://login.microsoftonline.com/common",
|
|
38331
38331
|
redirectUri: "https://microsoft.marioforme.com/microsoft-login.html"
|
|
38332
38332
|
},
|
|
@@ -38449,8 +38449,8 @@ var useLogin = function useLogin() {
|
|
|
38449
38449
|
|
|
38450
38450
|
if (authToken) {
|
|
38451
38451
|
localStorage.setItem(ACCESS_TOKEN, authToken);
|
|
38452
|
-
document.cookie = "auth-token
|
|
38453
|
-
document.cookie = "redirect-uri
|
|
38452
|
+
document.cookie = "auth-token=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";
|
|
38453
|
+
document.cookie = "redirect-uri=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";
|
|
38454
38454
|
}
|
|
38455
38455
|
|
|
38456
38456
|
var token = getAccessToken();
|