Fix SAAS-1128 more robustly to fix timezone/lang popup for sign up too
This commit is contained in:
parent
a90b97fb55
commit
591b3d1539
|
@ -111,7 +111,7 @@ class ShowbuilderController extends Zend_Controller_Action
|
|||
$userService = new Application_Service_UserService();
|
||||
$currentUser = $userService->getCurrentUser();
|
||||
$previousPageWasLoginScreen = (strpos($previousPage, 'login') !== false) ||
|
||||
($previousPage == SAAS_LOGIN_REFERRER);
|
||||
(strpos($previousPage, SAAS_LOGIN_REFERRER) !== false);
|
||||
|
||||
// If current user is Super Admin, and they came from the login page,
|
||||
// and they have not seen the setup popup before
|
||||
|
|
Loading…
Reference in New Issue