Commit 41dccb21 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Set default values for IDP/SP/OP/RP identifiers (#901)

parent 007539b1
......@@ -361,22 +361,22 @@
};
$scope.addSamlIDP = function() {
var name = window.prompt($translator.translate('samlPartnerName'));
var name = window.prompt($translator.translate('samlPartnerName'),'idp-example');
if (name) $scope.addTemplateNode(name, 'samlIDPMetaDataNode');
};
$scope.addSamlSP = function() {
var name = window.prompt($translator.translate('samlPartnerName'));
var name = window.prompt($translator.translate('samlPartnerName'),'sp-example');
if (name) $scope.addTemplateNode(name, 'samlSPMetaDataNode');
};
$scope.addOidcOp = function() {
var name = window.prompt($translator.translate('oidcOPName'));
var name = window.prompt($translator.translate('oidcOPName'),'op-example');
if (name) $scope.addTemplateNode(name, 'oidcOPMetaDataNode');
};
$scope.addOidcRp = function() {
var name = window.prompt($translator.translate('oidcRPName'));
var name = window.prompt($translator.translate('oidcRPName'),'rp-example');
if (name) $scope.addTemplateNode(name, 'oidcRPMetaDataNode');
};
......@@ -825,4 +825,4 @@
};
}]);
})();
\ No newline at end of file
})();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment