annotate mod_email_pass/templates/token.html @ 4326:f6fdefc5c6ac

mod_roster_command: Fix subscription when the "user JID" is a bare domain. Do not attempt to update the roster when the user is bare domain (e.g. a component), since they don't have rosters and the attempt results in an error: $ prosodyctl mod_roster_command subscribe proxy.example.com contact@example.com xxxxxxxxxxFailed to execute command: Error: /usr/lib/prosody/core/rostermanager.lua:104: attempt to concatenate local 'username' (a nil value) stack traceback: /usr/lib/prosody/core/rostermanager.lua:104: in function 'load_roster' /usr/lib/prosody/core/rostermanager.lua:305: in function 'set_contact_pending_out' mod_roster_command.lua:44: in function 'subscribe'
author Boris Grozev <boris@jitsi.org>
date Tue, 05 Jan 2021 13:15:00 -0600
parents 7dbde05b48a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1342
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
1 <!DOCTYPE html>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
2 <html>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
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
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
5 <meta charset="utf-8">
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
6 <title>Reseto de la clave de tu cuenta Jabber</title>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
7 </head>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
8 <body>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
9 <div id="estilo" class="formulario">
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
10 <h1>Reseteo de la clave de tu cuenta Jabber</h1>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
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
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
13 <label>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
14 Token:
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
15 </label>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
16 <input name="token" value="{token}" required readonly>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
17 <div class="spacer"></div>
1343
7dbde05b48a9 all the things: Remove trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents: 1342
diff changeset
18
1342
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
19 <label>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
20 Contrase&ntilde;a:
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
21 </label>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
22 <input name="newpassword" type="password" required size="35">
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
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
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
25 <div class="spacer"></div>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
26 </form>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
27 </div>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
28 </body>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
29 </html>
0ae065453dc9 Initial commit
Luis G.F <luisgf@gmail.com>
parents:
diff changeset
30