2021-04-09 15:41:32 -04:00
|
|
|
{{#if (feature-flag 'oidc')}}
|
|
|
|
|
{{! OIDC enabled: show form for any auth method}}
|
|
|
|
|
<Form::Authenticate
|
|
|
|
|
@model={{@model}}
|
2021-05-11 14:13:24 -04:00
|
|
|
@submit={{route-action 'authenticate'}}
|
2021-04-09 15:41:32 -04:00
|
|
|
@disabled={{is-loading}}
|
|
|
|
|
/>
|
|
|
|
|
{{else}}
|
|
|
|
|
{{! OIDC disabled: hide OIDC auth form}}
|
|
|
|
|
{{#unless @model.isOIDC}}
|
|
|
|
|
<Form::Authenticate
|
|
|
|
|
@model={{@model}}
|
2021-05-11 14:13:24 -04:00
|
|
|
@submit={{route-action 'authenticate'}}
|
2021-04-09 15:41:32 -04:00
|
|
|
@disabled={{is-loading}}
|
|
|
|
|
/>
|
|
|
|
|
{{/unless}}
|
2021-05-11 14:13:24 -04:00
|
|
|
{{/if}}
|