-f
Build docker and publish / build (20.15.1) (push) Failing after 25s

This commit is contained in:
2025-10-14 08:17:02 -07:00
parent 42061e38c0
commit dca32cd11c
21 changed files with 374 additions and 85 deletions
+3 -5
View File
@@ -35,11 +35,9 @@ func NewDeviceLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Devic
}
func (l *DeviceLoginLogic) DeviceLogin(req *types.DeviceLoginRequest) (resp *types.LoginResponse, err error) {
//TODO : check device login rate limit
// Check if device login is enabled
//if !l.svcCtx.Config.Register.EnableDevice {
// return nil, xerr.NewErrMsg("Device login is disabled")
//}
if !l.svcCtx.Config.Device.Enable {
return nil, xerr.NewErrMsg("Device login is disabled")
}
loginStatus := false
var userInfo *user.User