[Admin panel / Settings / Layout] Customize OIDC button text

This commit is contained in:
Emile NDAGIJIMANA 2021-09-15 18:35:09 +02:00
parent 0c121a5894
commit 9defed2680
7 changed files with 25 additions and 1 deletions

View file

@ -199,6 +199,12 @@ BlazeComponent.extendComponent({
)
.val()
.trim();
const oidcBtnText = $(
'#oidcBtnTextvalue',
)
.val()
.trim();
const hideLogoChange = $('input[name=hideLogo]:checked').val() === 'true';
const displayAuthenticationMethod =
$('input[name=displayAuthenticationMethod]:checked').val() === 'true';
@ -221,6 +227,7 @@ BlazeComponent.extendComponent({
defaultAuthenticationMethod,
automaticLinkedUrlSchemes,
spinnerName,
oidcBtnText,
},
});
} catch (e) {