Fix signalr authentication
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
84d6f44e9b
commit
7bdb48b644
@ -43,7 +43,7 @@ export class EventService {
|
|||||||
|
|
||||||
private Authenticate() {
|
private Authenticate() {
|
||||||
var accessToken = this.oauthService.getAccessToken();
|
var accessToken = this.oauthService.getAccessToken();
|
||||||
if (accessToken) {
|
if (this.oauthService.hasValidAccessToken()) {
|
||||||
this._connection.send('authenticate', this.oauthService.getAccessToken());
|
this._connection.send('authenticate', this.oauthService.getAccessToken());
|
||||||
this.authenticated=true;
|
this.authenticated=true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user