1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-05 19:40:52 -07:00

fix token.cgi

This commit is contained in:
J. Patrick Avery, Jr 2018-05-17 08:35:58 -06:00
parent 6532ae343a
commit 831ff2dcb2

View file

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