revert changes
This commit is contained in:
Родитель
08c802687e
Коммит
0792ee2f10
|
@ -250,14 +250,10 @@ export class AbpHttpInterceptor implements HttpInterceptor {
|
|||
}
|
||||
|
||||
protected tryGetRefreshTokenService(): Observable<boolean> {
|
||||
try {
|
||||
var _refreshTokenService = this._injector.get(RefreshTokenService);
|
||||
|
||||
if (_refreshTokenService) {
|
||||
return _refreshTokenService.tryAuthWithRefreshToken();
|
||||
}
|
||||
} catch (error) {
|
||||
return of(false);
|
||||
var _refreshTokenService = this._injector.get(RefreshTokenService, null);
|
||||
|
||||
if (_refreshTokenService) {
|
||||
return _refreshTokenService.tryAuthWithRefreshToken();
|
||||
}
|
||||
return of(false);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче