@klauswuestefeld/jux-web 2026.1.23 → 2026.1.24
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/jux-web.js +2 -1
- package/dist/main.esm.js +2 -1
- package/dist/main.js +2 -1
- package/package.json +1 -1
package/dist/jux-web.js
CHANGED
|
@@ -1025,7 +1025,8 @@ var juxWeb = (function (exports) {
|
|
|
1025
1025
|
};
|
|
1026
1026
|
const appendLoginTypes = (loginPage, btnsContainer, clientApp, onUserLogin, onLoginError, loginTypes, backgroundImg, explanation, handleSSOLogin, handlers) => {
|
|
1027
1027
|
const upperLoginTypes = loginTypes.map(str => str.toUpperCase());
|
|
1028
|
-
const onlyAuth = upperLoginTypes.
|
|
1028
|
+
const onlyAuth = upperLoginTypes.length > 0 &&
|
|
1029
|
+
upperLoginTypes.every(type => type === 'AUTH-PASSWORD');
|
|
1029
1030
|
explanation.textContent = getTranslation('sign-in-explanation');
|
|
1030
1031
|
if (upperLoginTypes.includes('AUTH-PASSWORD2') || onlyAuth) {
|
|
1031
1032
|
btnsContainer.replaceChildren();
|
package/dist/main.esm.js
CHANGED
|
@@ -1024,7 +1024,8 @@ const onEmailLoginRequest = (clientApp, loginPage, onUserLogin, backgroundImage,
|
|
|
1024
1024
|
};
|
|
1025
1025
|
const appendLoginTypes = (loginPage, btnsContainer, clientApp, onUserLogin, onLoginError, loginTypes, backgroundImg, explanation, handleSSOLogin, handlers) => {
|
|
1026
1026
|
const upperLoginTypes = loginTypes.map(str => str.toUpperCase());
|
|
1027
|
-
const onlyAuth = upperLoginTypes.
|
|
1027
|
+
const onlyAuth = upperLoginTypes.length > 0 &&
|
|
1028
|
+
upperLoginTypes.every(type => type === 'AUTH-PASSWORD');
|
|
1028
1029
|
explanation.textContent = getTranslation('sign-in-explanation');
|
|
1029
1030
|
if (upperLoginTypes.includes('AUTH-PASSWORD2') || onlyAuth) {
|
|
1030
1031
|
btnsContainer.replaceChildren();
|
package/dist/main.js
CHANGED
|
@@ -1048,7 +1048,8 @@ const onEmailLoginRequest = (clientApp, loginPage, onUserLogin, backgroundImage,
|
|
|
1048
1048
|
};
|
|
1049
1049
|
const appendLoginTypes = (loginPage, btnsContainer, clientApp, onUserLogin, onLoginError, loginTypes, backgroundImg, explanation, handleSSOLogin, handlers) => {
|
|
1050
1050
|
const upperLoginTypes = loginTypes.map(str => str.toUpperCase());
|
|
1051
|
-
const onlyAuth = upperLoginTypes.
|
|
1051
|
+
const onlyAuth = upperLoginTypes.length > 0 &&
|
|
1052
|
+
upperLoginTypes.every(type => type === 'AUTH-PASSWORD');
|
|
1052
1053
|
explanation.textContent = getTranslation('sign-in-explanation');
|
|
1053
1054
|
if (upperLoginTypes.includes('AUTH-PASSWORD2') || onlyAuth) {
|
|
1054
1055
|
btnsContainer.replaceChildren();
|