Added file disable feature
- Redesigned login page
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user