2023-04-23 06:21:21 -04:00
|
|
|
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings security")}}
|
2024-07-09 13:36:31 -04:00
|
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_mfa" "manage_credentials")}}
|
2023-04-23 06:21:21 -04:00
|
|
|
<div class="user-setting-content">
|
2024-07-09 13:36:31 -04:00
|
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_mfa")}}
|
2022-01-02 08:12:35 -05:00
|
|
|
{{template "user/settings/security/twofa" .}}
|
2022-01-14 10:03:31 -05:00
|
|
|
{{template "user/settings/security/webauthn" .}}
|
2024-07-09 13:36:31 -04:00
|
|
|
{{end}}
|
|
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_credentials")}}
|
2022-01-02 08:12:35 -05:00
|
|
|
{{template "user/settings/security/accountlinks" .}}
|
2018-05-15 06:07:32 -04:00
|
|
|
{{if .EnableOpenIDSignIn}}
|
2022-01-02 08:12:35 -05:00
|
|
|
{{template "user/settings/security/openid" .}}
|
2018-05-15 06:07:32 -04:00
|
|
|
{{end}}
|
2024-07-09 13:36:31 -04:00
|
|
|
{{end}}
|
2017-10-16 05:14:12 -04:00
|
|
|
</div>
|
2024-07-09 13:36:31 -04:00
|
|
|
{{end}}
|
2017-10-16 05:14:12 -04:00
|
|
|
|
2023-04-23 06:21:21 -04:00
|
|
|
{{template "user/settings/layout_footer" .}}
|