🚑 Fix security issue in authenticate grpc api
This commit is contained in:
parent
b84dca981f
commit
5087f00eb2
@ -30,6 +30,7 @@ func (v *Server) Authenticate(_ context.Context, in *proto.AuthRequest) (*proto.
|
||||
AccessToken: &atk,
|
||||
RefreshToken: &rtk,
|
||||
Userinfo: &proto.Userinfo{
|
||||
Id: uint64(user.ID),
|
||||
Name: user.Name,
|
||||
Nick: user.Nick,
|
||||
Email: user.GetPrimaryEmail().Content,
|
||||
|
Loading…
Reference in New Issue
Block a user