新增:ldap用户OTP认证(同步ldap用户到本地【仅作为管理otp秘钥,支持ldap用户下发客户端证书】)

新增:支持用户批量发送邮件,批量删除
This commit is contained in:
wsczx
2025-08-29 15:11:38 +08:00
parent 861b07a47d
commit efdcd236f5
9 changed files with 649 additions and 13928 deletions

View File

@@ -87,6 +87,8 @@ func StartAdmin() {
r.HandleFunc("/user/policy/del", PolicyDel)
r.HandleFunc("/user/reset/forgotPassword", ForgotPassword).Name("forgot_password")
r.HandleFunc("/user/reset/resetPassword", ResetPassword).Name("reset_password")
r.HandleFunc("/user/batch/send_email", UserBatchSendEmail).Methods(http.MethodPost)
r.HandleFunc("/user/batch/delete", UserBatchDelete).Methods(http.MethodPost)
r.HandleFunc("/group/list", GroupList)
r.HandleFunc("/group/names", GroupNames)
@@ -95,6 +97,7 @@ func StartAdmin() {
r.HandleFunc("/group/set", GroupSet)
r.HandleFunc("/group/del", GroupDel)
r.HandleFunc("/group/auth_login", GroupAuthLogin)
r.HandleFunc("/group/saveldapusers", SaveLdapUsers)
r.HandleFunc("/statsinfo/list", StatsInfoList)
r.HandleFunc("/locksinfo/list", GetLocksInfo)