File

mod_email_pass/templates/changepass.html @ 4249:64aa1d9d70ac

mod_rest: Catch and log errors in callback promise chain From the code it looks like it should be possible to reply to an error stanza, but it did not. Turns out I was saved by my local developer mode module which throws errors if an attempt is made to create an errror reply to an error stanza. However nothing collects this error from the promise, so all I got was confusion.
author Kim Alvefur <zash@zash.se>
date Sun, 15 Nov 2020 16:25:49 +0100
parent 1343:7dbde05b48a9
line wrap: on
line source

<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">
  <link rel="stylesheet" type="text/css" href="style.css" />
  <title>Reseteo de la clave de tu cuenta Jabber</title>
  </head>
  <body>
    <div id="estilo" class="formulario">
      <h1>Reseteo de la clave de tu cuenta Jabber</h1>
      <form action="{path}" method="POST">
		<p class="error">{notice}</p>
		<label>
		Usuario:
		<span class="small">Introduce tu usuario</span>
		</label>
		<input type="text" name="username" required>@{hostname}
		<div class="spacer"></div>
		<label>
		Email:
		<span class="small">Introduce tu email</span>
		</label>
		<input type="text" name="email" required>
		<div class="spacer"></div>

		<input id="button" class="button" type="submit" value="Enviar!">
		<div class="spacer"></div>
      </form>
      <p>
      Al pulsar sobre el bot&oacute;n, se enviar&aacute; a la direcci&oacute;n de correo que figura
      en tu vCard un enlace en el que deber&aacute;s entrar.<br />
      </p>
    </div>
  </body>
</html>