mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
login page does NOT need client-side api and redirect with cd=popup shows as message
This commit is contained in:
parent
c78c8cc215
commit
83eabe4d8e
@ -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 ? "&" : "?")+
|
||||
|
Loading…
Reference in New Issue
Block a user