add button to reset password in login page

This commit is contained in:
Eduardo Quiros 2022-08-30 09:13:43 -06:00
parent c5bb85e81e
commit d409dedef8
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;