From 5d6b40c8cf6acdd0a078cc83b85cd080a5e61f2c Mon Sep 17 00:00:00 2001 From: smizrahi Date: Mon, 12 Dec 2022 09:14:23 +0100 Subject: [PATCH] fix(core(js)): Removed es6 'const' for build issues with grunt --- UI/WebServerResources/js/Common/Authentication.service.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/WebServerResources/js/Common/Authentication.service.js b/UI/WebServerResources/js/Common/Authentication.service.js index 1ea39eea4..ce41aa8af 100644 --- a/UI/WebServerResources/js/Common/Authentication.service.js +++ b/UI/WebServerResources/js/Common/Authentication.service.js @@ -226,7 +226,7 @@ }, passwordRecovery: function (userName, domain) { - const self = this; + var self = this; var d = $q.defer(), xsrfCookie = $cookies.get('XSRF-TOKEN'); @@ -257,7 +257,7 @@ passwordRecoveryEmail: function (userName, domain, mode, mailDomain) { - const self = this; + var self = this; var d = $q.defer(), xsrfCookie = $cookies.get('XSRF-TOKEN'); @@ -283,7 +283,7 @@ passwordRecoveryCheck: function (userName, domain, mode, question, answer, mailDomain) { - const self = this; + var self = this; var d = $q.defer(), xsrfCookie = $cookies.get('XSRF-TOKEN'); @@ -308,7 +308,7 @@ }, passwordRecoveryEnabled: function (userName, domain) { - const self = this; + var self = this; var d = $q.defer();