40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
<#import "template.ftl" as layout>
|
|
<@layout.registrationLayout displayInfo=false; section>
|
|
<#if section = "header" || section = "show-username">
|
|
<script type="text/javascript">
|
|
function fillAndSubmit(authExecId) {
|
|
document.getElementById('authexec-hidden-input').value = authExecId;
|
|
document.getElementById('kc-select-credential-form').submit();
|
|
}
|
|
</script>
|
|
<#if section = "header">
|
|
${msg("loginChooseAuthenticator")}
|
|
</#if>
|
|
<#elseif section = "form">
|
|
<div class="responsive-wrapper">
|
|
<table>
|
|
<tr>
|
|
<th>Method</th>
|
|
<th>Description</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
<#list auth.authenticationSelections as authenticationSelection>
|
|
<tr>
|
|
<td>${msg('${authenticationSelection.displayName}')}</td>
|
|
<td>${msg('${authenticationSelection.helpText}')}</td>
|
|
<td>
|
|
<form action="${url.loginAction}" method="post">
|
|
<input type="hidden" name="authenticationExecution"
|
|
value="${authenticationSelection.authExecId}"/>
|
|
<input type="submit" value="Use This Method"/>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</#list>
|
|
</table>
|
|
</div>
|
|
|
|
</#if>
|
|
</@layout.registrationLayout>
|
|
|