mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-11-09 15:59:58 +01:00
1 parent
b5dd0cfacd
commit
8333ea88a8
148 files changed
+3077
-23976
No files matched your search
+1
-2
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
|
||||
"github.com/arangodb/go-driver"
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
"github.com/SecurityBrewery/catalyst/index"
|
||||
)
|
||||
@@ -44,7 +43,7 @@ func (h *Hooks) TicketWriteFilter(ctx context.Context) (string, map[string]inter
|
||||
return "", nil, nil
|
||||
}
|
||||
|
||||
func (h *Hooks) GetGroups(ctx *gin.Context, username string) ([]string, error) {
|
||||
func (h *Hooks) GetGroups(ctx context.Context, username string) ([]string, error) {
|
||||
if h.GetGroupsFunc != nil {
|
||||
return h.GetGroupsFunc(ctx, username)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user