mario-core 2.9.228-sso → 2.9.229-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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37552,7 +37552,7 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
37552
37552
|
var subDomain = (_hostName$split = hostName.split(".marioforme.com")) === null || _hostName$split === void 0 ? void 0 : _hostName$split[0];
|
|
37553
37553
|
var emailDomain = (_email$split = email.split("@")) === null || _email$split === void 0 ? void 0 : _email$split[1];
|
|
37554
37554
|
|
|
37555
|
-
if (email.includes("@gmail") || !emailDomain.includes(subDomain)) {
|
|
37555
|
+
if (!isLocalhost && (email.includes("@gmail") || !emailDomain.includes(subDomain))) {
|
|
37556
37556
|
alert("The email address you used does not match the login information in the database. Please check that you are using your school assigned email address to log into MARIO for Me. If you have further trouble please notify your school site administrator");
|
|
37557
37557
|
return;
|
|
37558
37558
|
}
|