Use device severDeviceName in base request
This commit is contained in:
parent
a78dcca4f7
commit
f3c04377c1
|
@ -205,11 +205,7 @@ function authRequest(request as object) as object
|
|||
auth = auth + ", UserId=" + QUOTE + m.global.session.user.id + QUOTE
|
||||
end if
|
||||
|
||||
if m.global.session.user <> invalid and m.global.session.user.friendlyName <> invalid
|
||||
auth = auth + ", DeviceId=" + QUOTE + m.global.device.id + m.global.session.user.friendlyName + QUOTE
|
||||
else
|
||||
auth = auth + ", DeviceId=" + QUOTE + m.global.device.id + QUOTE
|
||||
end if
|
||||
auth = auth + ", DeviceId=" + QUOTE + m.global.device.serverDeviceName + QUOTE
|
||||
|
||||
if m.global.session.user.authToken <> invalid
|
||||
auth = auth + ", Token=" + QUOTE + m.global.session.user.authToken + QUOTE
|
||||
|
|
Loading…
Reference in New Issue
Block a user