|
|
|
@ -44,7 +44,6 @@ export class LoginComponent implements OnDestroy, OnInit {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.loginWithOmbi = true;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
@ -145,7 +144,7 @@ export class LoginComponent implements OnDestroy, OnInit {
|
|
|
|
|
public oauth() {
|
|
|
|
|
this.authService.login({usePlexOAuth: true, password:"",rememberMe:true,username:""}).subscribe(x => {
|
|
|
|
|
window.location.href = x.url;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ngOnDestroy() {
|
|
|
|
@ -161,5 +160,4 @@ export class LoginComponent implements OnDestroy, OnInit {
|
|
|
|
|
.bypassSecurityTrustStyle("linear-gradient(-10deg, transparent 20%, rgba(0,0,0,0.7) 20.0%, rgba(0,0,0,0.7) 80.0%, transparent 80%), url(" + x.url + ")");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|