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

${msg("identity-provider-login-label")}

<#elseif section = "info" > <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
${msg("noAccount")} ${msg("doRegister")}