Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -82,7 +82,7 @@ export class AuthService {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.login(username, password);
|
await this.router.navigate(['/login']);
|
||||||
}
|
}
|
||||||
|
|
||||||
logout(): void {
|
logout(): void {
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ export class RegisterFormComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async submitForm() {
|
async submitForm() {
|
||||||
|
console.log('form valid:', this.registerForm.valid);
|
||||||
|
console.log('form errors:', this.registerForm.errors);
|
||||||
|
console.log('form values:', this.registerForm.value);
|
||||||
if (this.registerForm.valid) {
|
if (this.registerForm.valid) {
|
||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user