mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Removed authentication resul
This commit is contained in:
parent
f64da4f846
commit
b7d8d0752e
1 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue