This commit is contained in:
2024-03-15 13:52:08 +01:00
parent 3439474297
commit 2f48dbdb45
3 changed files with 110 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
<input type="text" id="username" name="username" required>
<label for="password">Contraseña:</label>
<input type="text" id="password" name="password" required>
<input type="password" id="password" name="password" required>
<input type="submit" value="Enviar">
</form>
@@ -67,7 +67,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
echo "<p>El cliente ha sido registrado correctamente </p>";
$mensaje = "Puedes loguearte, ya estás registrado";
$mensaje_codificado = urlencode($mensaje);
header("Location: login.php?mensaje=".$mensaje_codificado);
header("Location: login.php?mensaje=" . $mensaje_codificado);
exit;
}
}