<#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 !usernameHidden??>
<#if messagesPerField.existsError('username','password')> ${kcSanitize(messagesPerField.getFirstError('username','password'))?no_esc}
<#if usernameHidden?? && messagesPerField.existsError('username','password')> ${kcSanitize(messagesPerField.getFirstError('username','password'))?no_esc}
<#if realm.rememberMe && !usernameHidden??>
<#if realm.resetPasswordAllowed> ${msg("doForgotPassword")}
value="${auth.selectedCredential}"/>
<#elseif section = "info" > <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
${msg("noAccount")} ${msg("doRegister")}
<#elseif section = "socialProviders" > <#if realm.password && social.providers??>

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