avancées sur update member/ page account ok / add Member ok

This commit is contained in:
Sana EL HIRI 2022-03-03 21:59:06 +01:00
parent 11e4d7321e
commit f2f790211c
16 changed files with 383 additions and 72 deletions

View file

@ -1,16 +1,11 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from '../../services/auth.service';
import {
FormBuilder,
FormControl,
FormGroup,
Validators,
} from '@angular/forms';
import { Membre } from 'src/app/models/membre';
import { MailService } from 'src/app/services/mail.service';
import { Mail } from 'src/app/models/mail';
@Component({
selector: 'app-page-forgot-password',
templateUrl: './page-forgot-password.component.html',
@ -30,6 +25,7 @@ export class PageForgotPasswordComponent implements OnInit {
public onSubmit(submittedForm: any): void {
const membre: Membre = {
id: "",
nom: "",
prenom: "",
dateNaissance: new Date(),