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

This commit is contained in:
2024-04-02 14:41:15 +11:00
parent a78f2b7c88
commit 5719ce8f5d
2 changed files with 3 additions and 7 deletions

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