mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-15 22:38:31 +01:00
6dd096b7f0
* Initial commit for 2FA support Signed-off-by: Andrew <write@imaginarycode.com> * Add vendored files * Add missing depends * A few clean ups * Added improvements, proper encryption * Better encryption key * Simplify "key" generation * Make 2FA enrollment page more robust * Fix typo * Rename twofa/2FA to TwoFactor * UNIQUE INDEX -> UNIQUE
29 lines
1.3 KiB
Cheetah
29 lines
1.3 KiB
Cheetah
<div class="four wide column">
|
|
<div class="ui vertical menu">
|
|
<div class="header item">{{.i18n.Tr "settings"}}</div>
|
|
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
{{.i18n.Tr "settings.profile"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsAvatar}}active{{end}} item" href="{{AppSubUrl}}/user/settings/avatar">
|
|
{{.i18n.Tr "settings.avatar"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubUrl}}/user/settings/password">
|
|
{{.i18n.Tr "settings.password"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubUrl}}/user/settings/email">
|
|
{{.i18n.Tr "settings.emails"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsSSHKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/ssh">
|
|
{{.i18n.Tr "settings.ssh_keys"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
{{.i18n.Tr "settings.applications"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsTwofa}}active{{end}} item" href="{{AppSubUrl}}/user/settings/two_factor">
|
|
{{.i18n.Tr "settings.twofa"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
|
|
{{.i18n.Tr "settings.delete"}}
|
|
</a>
|
|
</div>
|
|
</div>
|