Use POST for guest token

Fixes #56
This commit is contained in:
Zed
2019-10-06 16:08:39 +02:00
parent bb83b6b6d3
commit c412b3d791
2 changed files with 5 additions and 3 deletions

View File

@@ -110,6 +110,7 @@ proc cleanPos*(pos: string): string =
pos.multiReplace((posPrefix, ""), (posSuffix, ""))
proc genPos*(pos: string): string =
if pos.len == 0: return
result = posPrefix & pos
if "A==" notin result:
result &= posSuffix