Refactor LDAP tests (#37274)

Not really fix #37263, just make things better, and easy to catch more
clues if it would fail again.
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-04-18 19:32:49 +00:00
1 parent 0824610e39
commit af31b9d433
6 files changed
+151 -167

No files matched your search

-1
View File
@@ -14,7 +14,6 @@ import (
// AuthenticationForm form for authentication
type AuthenticationForm struct {
ID int64
Type int `binding:"Range(2,7)"`
Name string `binding:"Required;MaxSize(30)"`
TwoFactorPolicy string