Software /
code /
prosody
Annotate
plugins/mod_pep_plus.lua @ 12708:9953ac7b0c15
mod_http_file_share: Switch to new util.jwt API
Some changes/improvements in this commit:
- Default token lifetime is now 3600s (from 300s)
- Tokens are only validated once per upload
- "iat"/"exp" are handled automatically by util.jwt
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 11 Jul 2022 13:49:47 +0100 |
parent | 9074:0462405b1cfb |
rev | line source |
---|---|
9074
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
1 module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep..."); |
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
2 module:depends("pep"); |