Empty login form after login

This commit is contained in:
2023-03-12 21:01:53 +01:00
parent 427ea64f8d
commit 2b784850c7

View File

@@ -87,6 +87,7 @@ export class LoginComponent {
if (val.username && val.password) {
this.authService.login(val.username, val.password)
.subscribe((answer: string) => {
this.form.reset();
this.modalService.dismissAll();
this.loginSuccess.emit(answer)
}