comparison mod_invites/README.markdown @ 3780:824447fc7759

mod_invites/README: Fix code block syntax
author Kim Alvefur <zash@zash.se>
date Fri, 27 Dec 2019 19:33:04 +0100
parents 80830d97da81
children 96838617695a
comparison
equal deleted inserted replaced
3779:5e69a4358053 3780:824447fc7759
7 Other modules can use the API from this module to create invite tokens which 7 Other modules can use the API from this module to create invite tokens which
8 can be used to e.g. register accounts or create automatic subscription approvals. 8 can be used to e.g. register accounts or create automatic subscription approvals.
9 9
10 # Configuration 10 # Configuration
11 11
12 `` {.lua} 12 ``` {.lua}
13 -- Configure the number of seconds a token is valid for (default 7 days) 13 -- Configure the number of seconds a token is valid for (default 7 days)
14 invite_expiry = 86400 * 7 14 invite_expiry = 86400 * 7
15 ``` 15 ```
16 16
17 Note that all modules that use this API will automatically load this module, 17 Note that all modules that use this API will automatically load this module,