@@ -166,9 +165,9 @@ func (s *UserAuthTokenService) LookupToken(unhashedToken string) (*models.UserAu
}
ifaffectedRows==0{
fmt.Println("prev seen token unchanged","userTokenId",userToken.Id,"userId",userToken.UserId,"authToken",userToken.AuthToken,"clientIP",userToken.ClientIp,"userAgent",userToken.UserAgent)
s.log.Debug("prev seen token unchanged","userTokenId",userToken.Id,"userId",userToken.UserId,"authToken",userToken.AuthToken,"clientIP",userToken.ClientIp,"userAgent",userToken.UserAgent)
}else{
fmt.Println("prev seen token","userTokenId",userToken.Id,"userId",userToken.UserId,"authToken",userToken.AuthToken,"clientIP",userToken.ClientIp,"userAgent",userToken.UserAgent)
s.log.Debug("prev seen token","userTokenId",userToken.Id,"userId",userToken.UserId,"authToken",userToken.AuthToken,"clientIP",userToken.ClientIp,"userAgent",userToken.UserAgent)
}
}
...
...
@@ -186,9 +185,9 @@ func (s *UserAuthTokenService) LookupToken(unhashedToken string) (*models.UserAu