Skip to content

Commit

Permalink
ensure trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
clauyan committed Dec 9, 2024
1 parent acfd44b commit f4d369d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/schulportal/login/error.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p class="instruction">${kcSanitize(message.summary)?no_esc}</p>
<form id="kc-form-logout"
<#if client?? && client.baseUrl?has_content>
action="${client.baseUrl}api/auth/logout"
action="${client.baseUrl?ensure_ends_with("/")}api/auth/logout"
<#else>
action="/realms/${realm.name}/protocol/openid-connect/logout"
</#if>
Expand Down

0 comments on commit f4d369d

Please sign in to comment.