feat: Alle Aktionen im RefreshService auf der Startseite entfernt
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { Component, Inject, OnInit } from '@angular/core';
|
import { Component, Inject, OnInit } from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { AuthenticationService } from '../services/authentication.service';
|
import { AuthenticationService } from '../services/authentication.service';
|
||||||
|
import { RefreshService } from '../services/refresh.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
standalone: true,
|
standalone: true,
|
||||||
@@ -13,7 +14,8 @@ export class HomeComponent implements OnInit {
|
|||||||
username: string = '';
|
username: string = '';
|
||||||
password: string = '';
|
password: string = '';
|
||||||
|
|
||||||
constructor(private authService: AuthenticationService, private router: Router) {
|
constructor(private authService: AuthenticationService, private router: Router, rService: RefreshService) {
|
||||||
|
rService.removeAll()
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user