From 670553503c47b2e1774992d2f02ad18e20935953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=99=E6=82=9F=E5=85=83?=
<88357633+SunWuyuan@users.noreply.github.com>
Date: Sat, 9 Nov 2024 18:43:57 +0800
Subject: [PATCH] Add TOTP management page
Add a new page to manage TOTP authenticators.
* Create a new Vue component `index.vue` to manage TOTP authenticators
- Add a method to fetch the list of TOTP authenticators from the backend
- Add methods to rename, delete, generate, and activate TOTP authenticators
- Add a template to display the list of TOTP authenticators and provide UI for the actions
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ZeroCatDev/ZeroCatNext?shareId=XXXX-XXXX-XXXX-XXXX).
---
src/pages/totp/index.vue | 76 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 src/pages/totp/index.vue
diff --git a/src/pages/totp/index.vue b/src/pages/totp/index.vue
new file mode 100644
index 0000000..48acedd
--- /dev/null
+++ b/src/pages/totp/index.vue
@@ -0,0 +1,76 @@
+
+
+
+
+ 生成新的TOTP验证器
+
+
+
+
+
+ {{ totp.name }}
+ {{ totp.status }}
+
+
+ 重命名
+ 删除
+ 激活
+
+
+
+
+
+
+
+
+