using permissions, not users directive

This commit is contained in:
Kay0u 2020-03-04 11:34:24 +01:00
parent 97620aaac7
commit bf0dc73381
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -262,7 +262,7 @@ function log_access(user, uri)
end
-- Check whether a user is allowed to access a URL using the `users` directive
-- Check whether a user is allowed to access a URL using the `permissions` directive
-- of the configuration file
function has_access(user)
user = user or authUser