aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_services
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-23 20:46:13 +0200
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-23 20:46:13 +0200
commit7f4315cc4accda4e7c038a58f6e8a2623c986eca (patch)
tree3e496c9989a932c3cd10d9116f64e6a6628f105f /frontend/src/app/_services
parenta5e467a078f6d1306c2cb4aecfd650182c7d64c1 (diff)
Dodate stavke u material.module i form-model
Diffstat (limited to 'frontend/src/app/_services')
-rw-r--r--frontend/src/app/_services/auth.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/app/_services/auth.service.ts b/frontend/src/app/_services/auth.service.ts
index b7d28d77..dd46615d 100644
--- a/frontend/src/app/_services/auth.service.ts
+++ b/frontend/src/app/_services/auth.service.ts
@@ -1,4 +1,4 @@
-import { Injectable } from '@angular/core';
+import { EventEmitter, Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { JwtHelperService } from '@auth0/angular-jwt';
import { CookieService } from 'ngx-cookie-service';
@@ -13,6 +13,7 @@ const jwtHelper = new JwtHelperService();
export class AuthService {
shared = shared;
+ public loggedInEvent: EventEmitter<boolean> = new EventEmitter();
constructor(private http: HttpClient, private cookie: CookieService) { }