Fixing typo

This commit is contained in:
mposolda 2014-05-23 11:19:09 +02:00
parent 142b155460
commit bb7a809ab5

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) {