Merge branch 'stretch-unstable' into permission_protection

This commit is contained in:
Kayou 2020-04-09 21:34:38 +02:00 committed by GitHub
commit 6ee3486783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -289,7 +289,7 @@ if permission then
-- If the user is authenticated and has access to the URL, set the headers
-- and let it be
if permission["auth_header"] then
if permission["auth_header"] and hlp.has_access(permission) then
logger.debug("Set Headers")
hlp.set_headers()
end

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
ssowat (3.7.1) stable; urgency=low
- [fix] Don't set auth headers if user don't have access (#158)
Thanks to all contributors <3 ! (Josue)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 9 April 2020 15:23:00 +0000
ssowat (3.7.0.3) stable; urgency=low
Bumping version number for stable release