mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
update contents.
This commit is contained in:
parent
90f73a18a0
commit
be75e96b15
@ -79,7 +79,7 @@ func (s *authServer) UserToken(ctx context.Context, req *pbauth.UserTokenReq) (*
|
||||
}
|
||||
|
||||
if datautil.Contain(req.UserID, s.config.Share.IMAdminUserID...) {
|
||||
return nil, errs.ErrNoPermission.WrapMsg("userID is not admin permission.")
|
||||
return nil, errs.ErrNoPermission.WrapMsg("userID is not admin permission.", "userID", req.UserID)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user