ng-token-auth
ng-token-auth copied to clipboard
Cannot read property 'config' of undefined
Version
0.0.24
Screenshot
Issue
Sometimes I got resp
as 'false' or 'null' in this line https://github.com/lynndylanhurley/ng-token-auth/blob/master/dist/ng-token-auth.js#L803 hence throw the error when execute resp.config
Should we add data validation here for resp
?
Same here.
Don't know if it's Angular's problem triggering a 'ghost' responseError after I get 401 from $auth.validateToken()
...