mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Don't set header if user don't have access
This commit is contained in:
parent
2298a177c2
commit
b1080c1e1a
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ end
|
||||||
|
|
||||||
if longest_unprotected_match ~= ""
|
if longest_unprotected_match ~= ""
|
||||||
and string.len(longest_unprotected_match) > string.len(longest_protected_match) then
|
and string.len(longest_unprotected_match) > string.len(longest_protected_match) then
|
||||||
if hlp.is_logged_in() then
|
if hlp.is_logged_in() and hlp.has_access() then
|
||||||
serveYnhpanel()
|
serveYnhpanel()
|
||||||
|
|
||||||
hlp.set_headers()
|
hlp.set_headers()
|
||||||
|
|
Loading…
Reference in a new issue