mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Fix remove last char
This commit is contained in:
parent
12412cc6c8
commit
177ca1018b
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ function has_access(user)
|
|||
end
|
||||
|
||||
if string.ends(url, "/") then
|
||||
url = string.sub(url, 1, -1)
|
||||
url = string.sub(url, 1, -2)
|
||||
end
|
||||
|
||||
if string.starts(ngx.var.host..ngx.var.uri, url) then
|
||||
|
|
Loading…
Add table
Reference in a new issue