scope -> tokenScope

This commit is contained in:
Girish Ramakrishnan
2018-06-17 15:29:10 -07:00
parent 2bacbe6701
commit cec1cc7086

View File

@@ -269,7 +269,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
};
Client.prototype.hasScope = function (scope) {
return this.getUserInfo().scope.split(',').indexOf(scope) !== -1;
return this.getUserInfo().tokenScope.split(',').indexOf(scope) !== -1;
};
/*