creating ldap user was not setting ldapuser flag
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2024-04-02 14:41:15 +11:00
1 parent a78f2b7c88
commit 5719ce8f5d
2 files changed
+3 -7

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ func AddUser(c *gin.Context) {
u := models.User{}
u.UserName = input.UserName
u.Password = input.Password
u.LdapUser = input.LdapUser
// Determine which GroupId to save
// Can be specified either by GroupName or GroupId in the request