login page does NOT need client-side api and redirect with cd=popup shows as message

This commit is contained in:
Ralf Becker 2020-10-16 09:45:30 +02:00
parent b9cb563eb6
commit 301966a6ca

View File

@ -131,6 +131,7 @@
}
// if framework not found, but requested to check for it, redirect to cd=yes to create it
if (typeof window.framework == 'undefined' &&
!window.location.pathname.match(/\/login.php/) && // not for login page
!window.location.search.match(/[&?]cd=/))
{
window.location.search += (window.location.search ? "&" : "?")+