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
This commit is contained in:
Adrian Nöthlich 2024-02-11 16:54:35 +01:00 committed by GitHub
parent e4cd6ebe92
commit ac0efc6002
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 () {});