Mercurial > prosody-modules
annotate mod_email_pass/templates/token.html @ 3568:6b3181fe5617
mod_auth_token: Timezone fix for TOTP checking
luatz.time() returns milliseconds since epoch which is in UTC time, so we don't
need to convert to UTC with gmtime.
By calling gmtime, TOTP validation was failing when this module wasn't running
on machine set to UTC time.
author | JC Brand <jc@opkode.com> |
---|---|
date | Thu, 02 May 2019 11:07:27 +0200 |
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 |