Added file disable feature

- Redesigned login page
This commit is contained in:
2024-06-04 00:34:41 +02:00
parent 1462e141ad
commit 5f3304674f
6 changed files with 66 additions and 12 deletions

View File

@ -49,14 +49,10 @@ export class LoginComponent {
this.authStore.setToken(response.data.token);
this.authStore.setUsername(this.inputUsername);
console.log("Login successful");
console.log("Token: " + await firstValueFrom(this.authStore.token$));
console.log("Username: " + await firstValueFrom(this.authStore.username$));
//timeout
setTimeout(() => {
this.router.navigate(['/secure/administration']);
}, 1000);
}, 500);
}
})
.catch(error => {