mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
default web origins
This commit is contained in:
@@ -267,6 +267,10 @@ module.controller('ApplicationDetailCtrl', function($scope, realm, application,
|
||||
Notifications.error("You must specify at least one redirect uri");
|
||||
} else {
|
||||
if ($scope.create) {
|
||||
if ($scope.application.webOrigins.length == 0) {
|
||||
// let rest api put in default webOrigins
|
||||
$scope.application.webOrigins = null;
|
||||
}
|
||||
Application.save({
|
||||
realm: realm.realm,
|
||||
application: ''
|
||||
|
||||
Reference in New Issue
Block a user