Session-IDs are lowercase now
This commit is contained in:
parent
7ba12e9c5e
commit
7dcb05fd1c
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ function dispatch(request)
|
||||||
local verifytoken = false
|
local verifytoken = false
|
||||||
if not sess then
|
if not sess then
|
||||||
sess = luci.http.getcookie("sysauth")
|
sess = luci.http.getcookie("sysauth")
|
||||||
sess = sess and sess:match("^[A-F0-9]+$")
|
sess = sess and sess:match("^[a-f0-9]+$")
|
||||||
verifytoken = true
|
verifytoken = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue