From 77ef004d5ac39e6f2276deaee0b7298fef27819f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 24 Jul 2022 16:35:06 +0300 Subject: add configuration variables --- init.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 init.js (limited to 'init.js') diff --git a/init.js b/init.js new file mode 100644 index 0000000..bf91cbd --- /dev/null +++ b/init.js @@ -0,0 +1,9 @@ +require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { + ready(function() { + Plugins.Auth_OIDC = { + login: function(url) { + window.location.href = url; + } + } + }) +}); -- cgit v1.2.3