diff --git a/src/app/services/authService.js b/src/app/services/authService.js index 923f31c423..91b3ec245e 100644 --- a/src/app/services/authService.js +++ b/src/app/services/authService.js @@ -233,7 +233,9 @@ angular _service.refreshAccessToken = function () { var refreshToken = tokenService.getRefreshToken(); if (!refreshToken) { - return null; + return $q(function (resolve, reject) { + resolve(null); + }); } return apiService.identity.token({