mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 19:30:55 +01:00
login page does NOT need client-side api and redirect with cd=popup shows as message
This commit is contained in:
parent
b9cb563eb6
commit
301966a6ca
@ -131,6 +131,7 @@
|
|||||||
}
|
}
|
||||||
// if framework not found, but requested to check for it, redirect to cd=yes to create it
|
// if framework not found, but requested to check for it, redirect to cd=yes to create it
|
||||||
if (typeof window.framework == 'undefined' &&
|
if (typeof window.framework == 'undefined' &&
|
||||||
|
!window.location.pathname.match(/\/login.php/) && // not for login page
|
||||||
!window.location.search.match(/[&?]cd=/))
|
!window.location.search.match(/[&?]cd=/))
|
||||||
{
|
{
|
||||||
window.location.search += (window.location.search ? "&" : "?")+
|
window.location.search += (window.location.search ? "&" : "?")+
|
||||||
|
Loading…
Reference in New Issue
Block a user