You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
2 weeks ago
|
<#import "template.ftl" as layout>
|
||
|
<#import "components/atoms/form.ftl" as form>
|
||
|
<#import "components/atoms/link.ftl" as link>
|
||
|
|
||
|
<@layout.registrationLayout displayInfo=false; section>
|
||
|
<#if section="header">
|
||
|
${msg("loginChooseAuthenticator")}
|
||
|
<#elseif section="form">
|
||
|
<div x-data>
|
||
|
<@form.kw action=url.loginAction method="post" x\-ref="selectCredentialForm">
|
||
|
<input name="authenticationExecution" type="hidden" x-ref="authExecInput" />
|
||
|
<#list auth.authenticationSelections as authenticationSelection>
|
||
|
<div>
|
||
|
<@link.kw
|
||
|
@click="$refs.authExecInput.value = '${authenticationSelection.authExecId}'; $refs.selectCredentialForm.submit()"
|
||
|
color="primary"
|
||
|
component="button"
|
||
|
type="button"
|
||
|
>
|
||
|
${msg("${authenticationSelection.displayName}")}
|
||
|
</@link.kw>
|
||
|
<div class="text-sm">${msg("${authenticationSelection.helpText}")}</div>
|
||
|
</div>
|
||
|
</#list>
|
||
|
</@form.kw>
|
||
|
</div>
|
||
|
</#if>
|
||
|
</@layout.registrationLayout>
|