Software /
code /
prosody-modules
Annotate
mod_email_pass/templates/token.html @ 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 | 1343:7dbde05b48a9 |
rev | line source |
---|---|
1342 | 1 <!DOCTYPE html> |
2 <html> | |
3 <head> | |
1343
7dbde05b48a9
all the things: Remove trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
1342
diff
changeset
|
4 <link rel="stylesheet" type="text/css" href="style.css" /> |
1342 | 5 <meta charset="utf-8"> |
6 <title>Reseto de la clave de tu cuenta Jabber</title> | |
7 </head> | |
8 <body> | |
9 <div id="estilo" class="formulario"> | |
10 <h1>Reseteo de la clave de tu cuenta Jabber</h1> | |
11 <form action="{path}?{token}" method="POST"> | |
1343
7dbde05b48a9
all the things: Remove trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
1342
diff
changeset
|
12 <p class="error">{notice}</p> |
1342 | 13 <label> |
14 Token: | |
15 </label> | |
16 <input name="token" value="{token}" required readonly> | |
17 <div class="spacer"></div> | |
1343
7dbde05b48a9
all the things: Remove trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
1342
diff
changeset
|
18 |
1342 | 19 <label> |
20 Contraseña: | |
21 </label> | |
22 <input name="newpassword" type="password" required size="35"> | |
23 <div class="spacer"></div> | |
1343
7dbde05b48a9
all the things: Remove trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
1342
diff
changeset
|
24 <input id="button" class="button" type="submit" value="Cambiar!"> |
1342 | 25 <div class="spacer"></div> |
26 </form> | |
27 </div> | |
28 </body> | |
29 </html> | |
30 |