@ -39,6 +39,11 @@ export class RegisterComponent implements OnInit {
}
passwordSame(pwd: string, pwd2: string) {
if (!pwd) {
this.errorOccurred = true;
this.errorMessage = 'please enter a password';
return false;
if (pwd === pwd2) {
return true;
} else {