Skip to content

Commit

Permalink
Remove group check
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszWojciechO committed Mar 4, 2025
1 parent 6a0bf47 commit 306bb3e
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 306bb3e

Please sign in to comment.