Skip to content

Commit

Permalink
Remove group check
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszWojciechO committed Feb 19, 2025
1 parent 9910da2 commit ee86d0c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions daemon/rpc_set_notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ func (r *RPC) SetNotify(ctx context.Context, in *pb.SetNotifyRequest) (*pb.Paylo
}, nil
}

isInNordVPNGroup, err := internal.IsInAllowedGroup(cred.Uid)
if err != nil {
return &pb.Payload{
Type: internal.CodeInternalError,
}, nil
}

if !isInNordVPNGroup {
return &pb.Payload{
Type: internal.CodeNotInNordVPNGroup,
}, nil
}

var cfg config.Config
if err := r.cm.Load(&cfg); err != nil {
log.Println(internal.ErrorPrefix, err)
Expand Down

0 comments on commit ee86d0c

Please sign in to comment.