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
2026-04-19 03:32:49 +08:00
committed by GitHub
parent 0824610e39
commit af31b9d433
6 changed files with 151 additions and 167 deletions

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