view mod_smacks_noerror/mod_smacks_noerror.lua @ 4727:e6f46d1b3337

mod_rest: Set type on temp session to satisfy certain auth checks E.g. mod_external_services and some others use `origin.type == "c2s"` as access check, which rejected the previous nil value.
author Kim Alvefur <zash@zash.se>
date Tue, 26 Oct 2021 18:07:35 +0200
parents e7dc25e54d02
children
line wrap: on
line source

-- this module is deprecated, log an error and load the superseding modules instead
module:depends"smacks"
module:depends"nooffline_noerror"

module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");