Changeset 17806
- Timestamp:
- Sep 7, 2012, 11:00:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.30/include/functions.inc.php
r17511 r17806 49 49 * Triggered on loc_begin_index 50 50 * 51 * Initiating GhostTracker 51 * Initiating GhostTracker - Perform user logout after registration if not validated 52 52 */ 53 53 function UAM_GhostTracker() 54 54 { 55 55 global $conf, $user; 56 57 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 56 58 57 59 $conf_UAM = unserialize($conf['UserAdvManager']); … … 99 101 } 100 102 } 103 } 104 105 // Perform user logout after registration if not validated 106 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id'])) 107 { 108 invalidate_user_cache(); 109 logout_user(); 110 redirect(UAM_PATH.'rejected.php'); 101 111 } 102 112 }
Note: See TracChangeset
for help on using the changeset viewer.