avoid escaping urls
This commit is contained in:
parent
7daa818996
commit
1378dbebee
@ -1,8 +1,8 @@
|
|||||||
<script>const _=
|
<script>const _=
|
||||||
{
|
{
|
||||||
"url": {
|
"url": {
|
||||||
"loginResetCredentialsUrl": "${url.loginResetCredentialsUrl}",
|
"loginResetCredentialsUrl": "${url.loginResetCredentialsUrl?no_esc}",
|
||||||
"registrationUrl": "${url.registrationUrl}"
|
"registrationUrl": "${url.registrationUrl?no_esc}"
|
||||||
},
|
},
|
||||||
"realm": {
|
"realm": {
|
||||||
"loginWithEmailAllowed": ${realm.loginWithEmailAllowed?c},
|
"loginWithEmailAllowed": ${realm.loginWithEmailAllowed?c},
|
||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<#list social.providers as p>
|
<#list social.providers as p>
|
||||||
out.push({
|
out.push({
|
||||||
"loginUrl": "${p.loginUrl}",
|
"loginUrl": "${p.loginUrl?no_esc}",
|
||||||
"alias": "${p.alias}",
|
"alias": "${p.alias}",
|
||||||
"providerId": "${p.providerId}",
|
"providerId": "${p.providerId}",
|
||||||
"displayName": "${p.displayName}"
|
"displayName": "${p.displayName}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<script>const _=
|
<script>const _=
|
||||||
{
|
{
|
||||||
"url": {
|
"url": {
|
||||||
"registrationAction": "${url.registrationAction}"
|
"registrationAction": "${url.registrationAction?no_esc}"
|
||||||
},
|
},
|
||||||
"messagesPerField": {
|
"messagesPerField": {
|
||||||
"printIfExists": function (key, x) {
|
"printIfExists": function (key, x) {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<script>const _=
|
<script>const _=
|
||||||
{
|
{
|
||||||
"url": {
|
"url": {
|
||||||
"loginAction": "${url.loginAction}",
|
"loginAction": "${url.loginAction?no_esc}",
|
||||||
"resourcesPath": "${url.resourcesPath}",
|
"resourcesPath": "${url.resourcesPath?no_esc}",
|
||||||
"resourcesCommonPath": "${url.resourcesCommonPath}",
|
"resourcesCommonPath": "${url.resourcesCommonPath?no_esc}",
|
||||||
"loginRestartFlowUrl": "${url.loginRestartFlowUrl}",
|
"loginRestartFlowUrl": "${url.loginRestartFlowUrl?no_esc}",
|
||||||
"loginUrl": "${url.loginUrl}"
|
"loginUrl": "${url.loginUrl?no_esc}"
|
||||||
},
|
},
|
||||||
"realm": {
|
"realm": {
|
||||||
"displayName": "${realm.displayName!''}" || undefined,
|
"displayName": "${realm.displayName!''}" || undefined,
|
||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<#list locale.supported as lng>
|
<#list locale.supported as lng>
|
||||||
out.push({
|
out.push({
|
||||||
"url": "${lng.url}",
|
"url": "${lng.url?no_esc}",
|
||||||
"label": "${lng.label}",
|
"label": "${lng.label}",
|
||||||
"languageTag": "${lng.languageTag}"
|
"languageTag": "${lng.languageTag}"
|
||||||
});
|
});
|
||||||
|
@ -32,8 +32,6 @@ export const Login = memo((props: LoginProps) => {
|
|||||||
kcContext.pageBasename === "login.ftl"
|
kcContext.pageBasename === "login.ftl"
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(kcContext);
|
|
||||||
|
|
||||||
return kcContext;
|
return kcContext;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -113,8 +113,6 @@ export const Template = memo((props: TemplateProps) => {
|
|||||||
return (
|
return (
|
||||||
<div className={cx(kcProperties.kcLoginClass)}>
|
<div className={cx(kcProperties.kcLoginClass)}>
|
||||||
|
|
||||||
<h1>REACT</h1>
|
|
||||||
|
|
||||||
<div id="kc-header" className={cx(kcProperties.kcHeaderClass)}>
|
<div id="kc-header" className={cx(kcProperties.kcHeaderClass)}>
|
||||||
<div id="kc-header-wrapper" className={cx(kcProperties.kcHeaderWrapperClass)}>
|
<div id="kc-header-wrapper" className={cx(kcProperties.kcHeaderWrapperClass)}>
|
||||||
{t("loginTitleHtml", realm.displayNameHtml)}
|
{t("loginTitleHtml", realm.displayNameHtml)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user