mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Unused condition
This commit is contained in:
parent
af892991af
commit
97620aaac7
1 changed files with 1 additions and 2 deletions
|
@ -306,8 +306,7 @@ function permission_matches()
|
|||
local url_matches = {}
|
||||
|
||||
for url, permission in pairs(conf["permissions"]) do
|
||||
if string.starts(ngx.var.host..ngx.var.uri..uri_args_string(), url)
|
||||
or string.starts(ngx.var.uri..uri_args_string(), url) then
|
||||
if string.starts(ngx.var.host..ngx.var.uri..uri_args_string(), url) then
|
||||
logger.debug("Url permission match current uri : "..url)
|
||||
|
||||
table.insert(url_matches, url)
|
||||
|
|
Loading…
Reference in a new issue