Update Templates

This commit is contained in:
Philipp Klüter
2020-09-29 20:37:23 +02:00
parent 8f32c7dd4f
commit 8067d7c76a
3 changed files with 19 additions and 4 deletions

View File

@@ -24,6 +24,21 @@
<img src="${url.resourcesPath}/images/logo_left.png" alt="logo" class="logo">
</div>
<div class="login-wrapper my-auto">
<#nested "header">
<#-- App-initiated actions should not see warning messages about the need to complete the action -->
<#-- during login. -->
<#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)>
<#if message.type == 'error'>
<div class="alert alert-danger">
<#else>
<div class="alert alert-${message.type}">
<#endif>
<span>${kcSanitize(message.summary)?no_esc}</span>
</div>
</#if>
<#nested "form">
</div>
</div>