Software /
code /
prosody
File
core/features.lua @ 13098:65d2ff6e674e
mod_tokenauth: Return error instead of session for token without role
Such a session triggers errors in module:may or other places since it is
generally expected that a session must have a role.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 May 2023 20:33:03 +0200 |
parent | 12972:ead41e25ebc0 |
child | 13111:8576f94ac90a |
line wrap: on
line source
local set = require "prosody.util.set"; return { available = set.new{ -- mod_bookmarks bundled "mod_bookmarks"; -- Roles, module.may and per-session authz "permissions"; -- prosody.* namespace "loader"; -- "keyval+" store "keyval+"; }; };