From 365b5753419238bb96bc3f9b744d380ff20cbafc Mon Sep 17 00:00:00 2001
From: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Mon, 7 Apr 2025 16:14:41 +0200
Subject: [feature] add TOTP two-factor authentication (2FA) (#3960)

* [feature] add TOTP two-factor authentication (2FA)

* use byteutil.S2B to avoid allocations when comparing + generating password hashes

* don't bother with string conversion  for consts

* use io.ReadFull

* use MustGenerateSecret for backup codes

* rename util functions
---
 web/source/settings/views/user/menu.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'web/source/settings/views/user/menu.tsx')

diff --git a/web/source/settings/views/user/menu.tsx b/web/source/settings/views/user/menu.tsx
index bf4c2a7ac..4127aa8f0 100644
--- a/web/source/settings/views/user/menu.tsx
+++ b/web/source/settings/views/user/menu.tsx
@@ -38,6 +38,11 @@ export default function UserMenu() {
 				itemUrl="profile"
 				icon="fa-user"
 			/>
+			<MenuItem
+				name="Account"
+				itemUrl="account"
+				icon="fa-user-secret"
+			/>
 			<MenuItem
 				name="Posts"
 				itemUrl="posts"
@@ -48,11 +53,6 @@ export default function UserMenu() {
 				itemUrl="interaction_requests"
 				icon="fa-commenting-o"
 			/>
-			<MenuItem
-				name="Email & Password"
-				itemUrl="emailpassword"
-				icon="fa-user-secret"
-			/>
 			<MenuItem
 				name="Migration"
 				itemUrl="migration"
-- 
cgit v1.2.3

