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

@@ -176,13 +176,8 @@ func SecretsGetAllowed(s *Secret, userId int) ([]UserSecret, error) {
r.User.UserName = r.UserUserName
// For debugging purposes
debugPrint := utils.PrintStructContents(&r, 0)
log.Println(debugPrint)
//log.Printf("SecretsGetAllowed performed debug print\n")
// Append the secrets to the query output, don't decrypt the secrets (we didn't SELECT them anyway)
//secretResults = append(secretResults, r)
//debugPrint := utils.PrintStructContents(&r, 0)
//log.Println(debugPrint)
// Use generics and the GetID() method on the UserSecret struct
// to avoid adding this element to the results