From da15c72fb320569277b2f8a517df4cd905f0912e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 3 Jul 2024 23:33:22 +0800 Subject: [PATCH] :sparkles: Admin check users' auth factor --- .idea/workspace.xml | 12 +++--- pkg/internal/server/admin/factors_api.go | 40 +++++++++++++++++++ pkg/internal/server/admin/index.go | 3 ++ .../admin/{user_api.go => users_api.go} | 38 ++++++++++++++++++ settings.toml | 6 +-- 5 files changed, 90 insertions(+), 9 deletions(-) create mode 100644 pkg/internal/server/admin/factors_api.go rename pkg/internal/server/admin/{user_api.go => users_api.go} (51%) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7191f15..352650a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,12 @@