Removed authentication resul

pull/1676/head
Jamie 7 years ago
parent f64da4f846
commit b7d8d0752e

@ -4,8 +4,6 @@ import { Router } from "@angular/router";
import { PlexService } from "../../services"; import { PlexService } from "../../services";
import { NotificationService } from "../../services"; import { NotificationService } from "../../services";
import { IPlexAuthentication } from "../../interfaces";
@Component({ @Component({
templateUrl: "./plex.component.html", templateUrl: "./plex.component.html",
}) })
@ -14,8 +12,6 @@ export class PlexComponent {
public login: string; public login: string;
public password: string; public password: string;
private authenticationResult: IPlexAuthentication;
constructor(private plexService: PlexService, private router: Router, private notificationService: NotificationService) { } constructor(private plexService: PlexService, private router: Router, private notificationService: NotificationService) { }
public requestAuthToken() { public requestAuthToken() {
@ -24,8 +20,6 @@ export class PlexComponent {
this.notificationService.error("Username or password was incorrect. Could not authenticate with Plex."); this.notificationService.error("Username or password was incorrect. Could not authenticate with Plex.");
return; return;
} }
this.authenticationResult = x;
this.router.navigate(["Wizard/CreateAdmin"]); this.router.navigate(["Wizard/CreateAdmin"]);
}); });
} }

Loading…
Cancel
Save