mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
quick fix for auth error reporting
This commit is contained in:
@@ -86,7 +86,7 @@ export class AuthService {
|
|||||||
this.loginSubject.next(response);
|
this.loginSubject.next(response);
|
||||||
return {type: this.settingsService.getProviders(), ticket: response};
|
return {type: this.settingsService.getProviders(), ticket: response};
|
||||||
})
|
})
|
||||||
.catch(this.handleError);
|
.catch(err => this.handleError(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -112,7 +112,7 @@ export class AuthService {
|
|||||||
this.logoutSubject.next(response);
|
this.logoutSubject.next(response);
|
||||||
return response;
|
return response;
|
||||||
})
|
})
|
||||||
.catch(this.handleError);
|
.catch(err => this.handleError(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user