|
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings security")}}
|
|
<div class="user-setting-content">
|
|
{{template "user/settings/security/twofa" .}}
|
|
{{template "user/settings/security/webauthn" .}}
|
|
{{template "user/settings/security/accountlinks" .}}
|
|
{{if .EnableOpenIDSignIn}}
|
|
{{template "user/settings/security/openid" .}}
|
|
{{end}}
|
|
</div>
|
|
|
|
{{template "user/settings/layout_footer" .}}
|
marked.setOptions({
highlight: function (code, lang) {
// Use highlight.js to highlight the code
const language = hljs.getLanguage(lang) ? lang : 'plaintext'; // Fallback to 'plaintext' if no language is found
return hljs.highlight(language, code).value; // Return the highlighted code
}
});