mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Typo
This commit is contained in:
parent
0566f31c4b
commit
d0683f01c4
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function check_authentication()
|
||||||
-- Check the host the cookie was meant to does match the request
|
-- Check the host the cookie was meant to does match the request
|
||||||
-- (this should never happen except if somehow a malicious user manually tries
|
-- (this should never happen except if somehow a malicious user manually tries
|
||||||
-- to use a cookie that was delivered from a different domain)
|
-- to use a cookie that was delivered from a different domain)
|
||||||
if host ~= ngx.var.host and not string.endswith(ngx.var.host, "." .. host) then
|
if host ~= ngx.var.host and not string.ends(ngx.var.host, "." .. host) then
|
||||||
return false, nil, nil
|
return false, nil, nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue