mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
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:
parent
e4cd6ebe92
commit
ac0efc6002
@ -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 () {});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user