From 9f10c2a364c983c9885d31686c415f83c19636a8 Mon Sep 17 00:00:00 2001 From: TINCU Sebastian-Ion <Sebastian-Ion.TINCU@ext.ec.europa.eu> Date: Tue, 9 Oct 2018 17:06:58 +0200 Subject: [PATCH] EDELIVERY-3687 SMP UI Add/Edit user Fix typo in method names. --- smp-angular/src/app/security/security.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smp-angular/src/app/security/security.service.ts b/smp-angular/src/app/security/security.service.ts index ba55811f5..d68fabfe6 100644 --- a/smp-angular/src/app/security/security.service.ts +++ b/smp-angular/src/app/security/security.service.ts @@ -14,7 +14,7 @@ export class SecurityService { constructor (private http: Http, private securityEventService: SecurityEventService, private domainService: DomainService) { } - logi(username: string, password: string) { + login(username: string, password: string) { this.domainService.resetDomain(); let headers = new Headers({'Content-Type': 'application/json'}); return this.http.post('rest/security/authentication', @@ -34,7 +34,7 @@ export class SecurityService { }); } - logou() { + logout() { console.log('Logging out'); this.domainService.resetDomain(); this.http.delete('rest/security/authentication').subscribe((res: Response) => { -- GitLab