This commit is contained in:
@@ -131,6 +131,7 @@ func (l *DeviceLoginLogic) DeviceLogin(req *types.DeviceLoginRequest) (resp *typ
|
||||
jwt.WithOption("UserId", userInfo.Id),
|
||||
jwt.WithOption("SessionId", sessionId),
|
||||
jwt.WithOption("LoginType", "device"),
|
||||
jwt.WithOption("DeviceId", deviceInfo.Id),
|
||||
)
|
||||
if err != nil {
|
||||
l.Errorw("token generate error",
|
||||
|
||||
Reference in New Issue
Block a user