add accounting version & fix proxy consumer

This commit is contained in:
DeniskaRediska committed 2019-11-26 12:11:13 +03:00
1 parent 244d8fbdc2
commit 4c7e96813c
11 files changed
+92 -38

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ func Do(ctx *fasthttp.RequestCtx, path string) (int32, error) {
err error
appId int32 = -1
)
if len(appToken) == 0 {
return 0, createError("unauthorized", codes.Unauthenticated)
} else if config.GetRemote().(*conf.RemoteConfig).TokensSetting.ApplicationVerify {