Mercurial > prosody-modules
annotate mod_email_pass/templates/token.html @ 5213:dc0f502c12f1
mod_http_oauth2: Fix authorization code logic
I have no idea what it did before or if it even worked.
RFC 6749 section 4.1.2 says:
> A maximum authorization code lifetime of 10 minutes is RECOMMENDED.
So this should prevent use of codes older than 10 minutes and remove
them from the cache some time after they expire.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Mar 2023 16:49:43 +0100 |
parents | 7dbde05b48a9 |
children |
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 |