initial work on adding LDAP integration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-04 11:42:04 +11:00
parent 0619b497f7
commit e8abd27f3c
8 changed files with 186 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ func StoreSecret(c *gin.Context) {
if len(checkExists) > 0 {
log.Printf("StoreSecret not storing secret with '%d' already matching secrets.\n", len(checkExists))
c.JSON(http.StatusBadRequest, gin.H{"error": "StoreSecret attempting to store secret already defined. API calls for update/delete don't yet exist"})
c.JSON(http.StatusBadRequest, gin.H{"error": "StoreSecret attempting to store secret already defined. Use update API call instead"})
return
}