Merge pull request #418 from mposolda/master

Fixing typo
This commit is contained in:
Stian Thorgersen 2014-05-23 10:21:44 +01:00
commit 6de7c42ac9

View file

@ -133,7 +133,7 @@ module.controller('OAuthClientDetailCtrl', function($scope, realm, oauth, OAuthC
}
$scope.save = function() {
if (!$scope.oauth.bearerOnly && (!$scope.oauth.redirectUris || $scope.oauth.redirectUris.length == 0)) {
if (!$scope.oauth.redirectUris || $scope.oauth.redirectUris.length == 0) {
Notifications.error("You must specify at least one redirect uri");
} else {
if ($scope.create) {