Update LoginPanel.svelte
This commit is contained in:
@@ -55,6 +55,8 @@
|
||||
let emailrecovery = $state("");
|
||||
async function SubmitRecuperarContraseñaEmail(e) {
|
||||
e.preventDefault();
|
||||
if (emailrecovery == "") emailrecovery = emailr;
|
||||
|
||||
try {
|
||||
const req = await fetch($urlG + "/api/recuperarUsuario", {
|
||||
method: "POST",
|
||||
@@ -275,7 +277,7 @@
|
||||
<div class="modal-body">
|
||||
<form onsubmit={SubmitRecuperarContraseñaEmail}>
|
||||
<div class="mb-3">
|
||||
<label for="Email" class="form-label">Email</label>
|
||||
<label for="Email" class="form-label">Email*</label>
|
||||
<input
|
||||
type="email"
|
||||
class="form-control"
|
||||
@@ -294,7 +296,6 @@
|
||||
class="form-control"
|
||||
id="recoveryEmail"
|
||||
placeholder="Ingresa tu email de recuperacion"
|
||||
required
|
||||
bind:value={emailrecovery}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user