view mod_readonly/README.markdown @ 5369:1a58a11407ac

mod_client_management: Fix error when last password change is unknown (or never) Fixes attempt to compare nil with number here, due to last_password_change being nil
author Kim Alvefur <zash@zash.se>
date Tue, 25 Apr 2023 22:06:08 +0200
parents ce5d1fa69ba3
children
line wrap: on
line source

This module blocks configured queries that change server state.

E.g. to make vCard storage read-only:

``` lua
readonly_stores = {
	vcard = { "vcard-temp", "vCard" };
}
```