<#import "template.ftl" as layout> <@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','password') displayInfo=realm.password && realm.registrationAllowed && !registrationDisabled??; section> <#if section = "header">
${msg("welcome")}
<#if realm.internationalizationEnabled && locale.supported?size gt 1>
${locale.current}
${msg("loginAccountTitle")}
<#elseif section = "form">
<#if realm.password>
<#if usernameEditDisabled??> <#else> <#if messagesPerField.existsError('username','password')>
${kcSanitize(messagesPerField.getFirstError('username','password'))?no_esc}
value="${auth.selectedCredential}"/>
<#if realm.password && social.providers??>
<#if realm.resetPasswordAllowed> ${msg("doForgotPassword")}
<#if realm.password && realm.registrationAllowed && !registrationDisabled??>
${msg("noAccount")} ${msg("signUpHere")}