Removed console log
This commit is contained in:
parent
78e8a3e703
commit
603fe8ad26
@ -8,7 +8,6 @@ import { KeycloakService } from "keycloak-angular";
|
|||||||
})
|
})
|
||||||
export class HomeComponent {
|
export class HomeComponent {
|
||||||
constructor(private keycloak: KeycloakService) {
|
constructor(private keycloak: KeycloakService) {
|
||||||
console.warn("home", this.keycloak.isLoggedIn());
|
|
||||||
if (!this.keycloak.isLoggedIn()) {
|
if (!this.keycloak.isLoggedIn()) {
|
||||||
this.keycloak.login().then(() => {});
|
this.keycloak.login().then(() => {});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user