Skip to content

Commit 3d6c445

Browse files
committed
The oauth2 grant type is "password" not "owner"
1 parent 5ccc25c commit 3d6c445

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/scripts/api-console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3085,7 +3085,7 @@
30853085
};
30863086

30873087
$scope.ownerOptionsEnabled = function () {
3088-
return $scope.credentials.grant === 'owner';
3088+
return $scope.credentials.grant === 'password';
30893089
};
30903090

30913091
$scope.isImplicitEnabled = function () {

src/app/security/oauth2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
};
1313

1414
$scope.ownerOptionsEnabled = function () {
15-
return $scope.credentials.grant === 'owner';
15+
return $scope.credentials.grant === 'password';
1616
};
1717

1818
$scope.isImplicitEnabled = function () {

0 commit comments

Comments
 (0)