From ac0efc600284f46665ad2932af6dcf2a15b310bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Sun, 11 Feb 2024 16:54:35 +0100 Subject: [PATCH] Fix ssoauth path regex The ssoauth page is called without a trailing slash (presumably because of the GET-parameters). Therefore he regex for calling the main.js does not match and the rendered `/ssoauth` page is without function. Fixes #1410 --- customize.dist/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize.dist/template.js b/customize.dist/template.js index adcab2333..84682526b 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -69,7 +69,7 @@ $(function () { require([ '/install/main.js' ], function () {}); } else if (/^\/recovery\//.test(pathname)) { require([ '/recovery/main.js' ], function () {}); - } else if (/^\/ssoauth\//.test(pathname)) { + } else if (/^\/ssoauth/.test(pathname)) { require([ '/ssoauth/main.js' ], function () {}); } else if (/^\/login\//.test(pathname)) { require([ '/login/main.js' ], function () {});