mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Don't add unprotected_urls if it's already in skipped_urls
This commit is contained in:
parent
ea26182ad1
commit
6ffd0d8f5a
1 changed files with 1 additions and 1 deletions
|
@ -1358,7 +1358,7 @@ def app_ssowatconf():
|
||||||
url = _sanitized_absolute_url(perm_info["url"])
|
url = _sanitized_absolute_url(perm_info["url"])
|
||||||
perm_info["url"] = url
|
perm_info["url"] = url
|
||||||
if "visitors" in perm_info["allowed"]:
|
if "visitors" in perm_info["allowed"]:
|
||||||
if url not in unprotected_urls:
|
if url not in unprotected_urls and url not in skipped_urls:
|
||||||
unprotected_urls.append(url)
|
unprotected_urls.append(url)
|
||||||
|
|
||||||
# Legacy stuff : we remove now protected-urls that might have been declared as unprotected earlier...
|
# Legacy stuff : we remove now protected-urls that might have been declared as unprotected earlier...
|
||||||
|
|
Loading…
Add table
Reference in a new issue