scope -> tokenScope
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user