correction pages: register, myProfil-user, search, myPlaylists
This commit is contained in:
parent
91171a3765
commit
a8cbd4efb7
27 changed files with 278 additions and 352 deletions
|
|
@ -78,6 +78,10 @@ export class PopupUpdateUserComponent implements OnInit
|
|||
this.errorMessage = "Email invalide" ;
|
||||
this.hasError = true;
|
||||
}
|
||||
else if((this.userCopy.dateOfBirth === undefined) || (this.userCopy.dateOfBirth === null)) {
|
||||
this.errorMessage = "Veuillez remplir le champ 'date de naissance'.";
|
||||
this.hasError = true;
|
||||
}
|
||||
else if(this.changePassword) {
|
||||
if (this.newPassword.length === 0) {
|
||||
this.errorMessage = "Veuillez remplir le champ 'mot de passe'" ;
|
||||
|
|
|
|||
Reference in a new issue