Software /
code /
prosody-modules
Annotate
mod_rawdebug/README.markdown @ 4832:bfd4af4caddc
mod_password_policy: Support for additional policies provided by other modules
E.g. check a password contains an uppercase character:
module:provides("password-policy", {
name = "contains_uppercase";
check_password = function (password, policy)
return (policy ~= true) or (not not password:match("%u"));
end;
})
Config:
password_policy = {
contains_uppercase = true;
}
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:48:46 +0000 |
parent | 2256:c5c583fae25d |
rev | line source |
---|---|
1803 | 1 --- |
2256
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
2 summary: Extra verbose logging of sent and received |
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
3 --- |
1803 | 4 |
2256
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
5 Summary |
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
6 ======= |
1803 | 7 |
8 Sometimes it is useful to get the raw XML logs from clients for | |
2256
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
9 debugging purposes, but some clients don't expose this. |
1803 | 10 |
2256
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
11 This module logs dumps everything sent and received into debug logs, for |
c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
Kim Alvefur <zash@zash.se>
parents:
1937
diff
changeset
|
12 debugging purposes. |