add button to reset password in login page
This commit is contained in:
parent
c5bb85e81e
commit
d409dedef8
|
@ -232,7 +232,6 @@ export class AppService {
|
||||||
const payload = {
|
const payload = {
|
||||||
id: id, dni: dni, name: name, last_name: last_name, email: email, phone: phone,
|
id: id, dni: dni, name: name, last_name: last_name, email: email, phone: phone,
|
||||||
password: this.generatePassword(), user_type: user_type, status: status, date_entry: date_entry, community_id
|
password: this.generatePassword(), user_type: user_type, status: status, date_entry: date_entry, community_id
|
||||||
|
|
||||||
};
|
};
|
||||||
return this.clientUserApp
|
return this.clientUserApp
|
||||||
.send<string>(pattern, payload)
|
.send<string>(pattern, payload)
|
||||||
|
|
|
@ -211,6 +211,7 @@ class LogInUser extends Component {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button label="Iniciar sesión" type="button" onClick={() => this.iniciarSesion()}></Button>
|
<Button label="Iniciar sesión" type="button" onClick={() => this.iniciarSesion()}></Button>
|
||||||
|
<Button label="Restablecer Contraseña" className="p-button-link" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -223,4 +224,4 @@ class LogInUser extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default LogInUser;
|
export default LogInUser;
|
||||||
|
|
Loading…
Reference in New Issue