does any one know where is that page that redirects you to the login page if you are not login?
does any one know where is that page that redirects you to the login page if you are not login?
it would be a very simple sytem if you could patch one file and then work in the system without login.
modules\Users\authentication\AuthenticationControl ler.php->sessionAuthenticate which for out of the box installs without custom authentication calls modules\Users\authentication\SugarAuthenticate\Sug arAuthenticate.php->sessionAuthenticate
Co-Founder of: SugarOutfitters
Modules:
SecuritySuite (Teams)
Photo Module
Follow me on Twitter:eggsurplus
Your Personal Developer
My Solution
Data in
http://CRMSYSTEM/index.php?action=Un...ne_Phones=true
include/MVC/SugarApplication.php line 114
modules/Users/Login.php Line 113PHP Code:if($post_login_nav == '&login_module=Home&login_action=UnifiedSearch'){
$post_login_nav .= "&search_form=" . $_GET['search_form'];
$post_login_nav .= "&advanced=" . $_GET['advanced'];
$post_login_nav .= "&query_string=" . $_GET['query_string'];
$post_login_nav .= "&search_mod_phone_Phones= $_GET['search_mod_phone_Phones'];
}
modules/Users/login.tpl Line 98PHP Code:if (isset($_GET['query_string']))
$sugar_smarty->assign('QUERY_STRING', $_GET['query_string']);
if (isset($_GET['search_mod_phone_Phones']))
$sugar_smarty->assign('SEARCH_MOD_PHONE_PHONES', $_GET['search_mod_phone_Phones']);
modules/Users/Authenticate.php line 104PHP Code:<input type="hidden" name="query_string" value="{$QUERY_STRING}">
<input type="hidden" name="search_mod_phone_Phones" value="{$SEARCH_MOD_PHONE_PHONES}">
PHP Code:if($_POST['query_string']!=NULL){
$url ="Location: index.php?action=UnifiedSearch&module=Home&search_form=false&advanced=false&query_string=".$_POST['query_string']."&search_mod_phone_Phones=".$_POST['search_mod_phone_Phones'];
}
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks