fix token.cgi

This commit is contained in:
J. Patrick Avery, Jr 2018-05-17 08:35:58 -06:00
parent 6532ae343a
commit 831ff2dcb2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ local token = cgi.fields['k'] or ""
-- Check answer -- Check answer
local needle = token local needle = token
local haystack = koth.path("tokens.txt") local haystack = koth.path("state/tokens.txt")
local found, err = koth.anchored_search(haystack, needle) local found, err = koth.anchored_search(haystack, needle)
if (not found) then if (not found) then