[系统用户]增加OTP动态密码二次认证

This commit is contained in:
刘祥超
2020-12-24 17:16:51 +08:00
parent 35d9007463
commit 7c96b25686
12 changed files with 330 additions and 30 deletions

View File

@@ -977,6 +977,7 @@ func (this *ServerDAO) FindAllServersDNSWithClusterId(clusterId int64) (result [
_, err = this.Query().
State(ServerStateEnabled).
Attr("isOn", true).
Attr("isAuditing", false). // 不在审核中
Attr("clusterId", clusterId).
Result("id", "name", "dnsName").
DescPk().