diff --git a/internal/outpost/ldap/search/memory/memory.go b/internal/outpost/ldap/search/memory/memory.go index c58bd9f40..fdb81588c 100644 --- a/internal/outpost/ldap/search/memory/memory.go +++ b/internal/outpost/ldap/search/memory/memory.go @@ -139,7 +139,7 @@ func (ms *MemorySearcher) Search(req *search.Request) (ldap.ServerSearchResult, // as a member. for _, u := range g.UsersObj { if flags.UserPk == u.Pk { - // TODO: Is there a better way to clone this object? + //TODO: Is there a better way to clone this object? fg := api.NewGroup(g.Pk, g.Name, g.Parent, g.ParentName, []int32{flags.UserPk}, []api.GroupMember{u}) fg.SetAttributes(*g.Attributes) fg.SetIsSuperuser(*g.IsSuperuser) diff --git a/internal/outpost/ldap/utils/utils_group.go b/internal/outpost/ldap/utils/utils_group.go index 2599c9f76..158e3e114 100644 --- a/internal/outpost/ldap/utils/utils_group.go +++ b/internal/outpost/ldap/utils/utils_group.go @@ -61,7 +61,7 @@ func parseFilterForGroupSingle(req api.ApiCoreGroupsListRequest, f *ber.Packet) } return req.MembersByUsername([]string{username}), false } - // TODO: Support int + //TODO: Support int default: return req, false } diff --git a/internal/outpost/ldap/utils/utils_user.go b/internal/outpost/ldap/utils/utils_user.go index b51c4fe0a..3a06e6fa6 100644 --- a/internal/outpost/ldap/utils/utils_user.go +++ b/internal/outpost/ldap/utils/utils_user.go @@ -66,7 +66,7 @@ func parseFilterForUserSingle(req api.ApiCoreUsersListRequest, f *ber.Packet) (a } return req.GroupsByName([]string{name}), false } - // TODO: Support int + //TODO: Support int default: return req, false } diff --git a/internal/outpost/proxyv2/application/application.go b/internal/outpost/proxyv2/application/application.go index 3d44e32e2..c1d18c700 100644 --- a/internal/outpost/proxyv2/application/application.go +++ b/internal/outpost/proxyv2/application/application.go @@ -172,7 +172,7 @@ func NewApplication(p api.ProxyOutpostConfig, c *http.Client, cs *ak.CryptoStore for _, regex := range strings.Split(*p.SkipPathRegex, "\n") { re, err := regexp.Compile(regex) if err != nil { - // TODO: maybe create event for this? + //TODO: maybe create event for this? a.log.WithError(err).Warning("failed to compile SkipPathRegex") continue } else { @@ -192,7 +192,7 @@ func (a *Application) ServeHTTP(rw http.ResponseWriter, r *http.Request) { } func (a *Application) handleSignOut(rw http.ResponseWriter, r *http.Request) { - // TODO: Token revocation + //TODO: Token revocation s, err := a.sessions.Get(r, constants.SeesionName) if err != nil { http.Redirect(rw, r, a.endpint.EndSessionEndpoint, http.StatusFound)