Changeset 17884 for extensions/UserAdvManager/trunk
- Timestamp:
- Sep 13, 2012, 5:11:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/include/functions.inc.php
r17846 r17884 102 102 } 103 103 } 104 }105 106 // Perform user logout after registration if not validated107 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id']) and !is_admin())108 {109 invalidate_user_cache();110 logout_user();111 redirect(UAM_PATH.'rejected.php');112 } 104 // Perform user logout after registration if not validated 105 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id']) ) 106 { 107 invalidate_user_cache(); 108 logout_user(); 109 redirect(UAM_PATH.'rejected.php'); 110 } 111 } 112 113 113 } 114 114
Note: See TracChangeset
for help on using the changeset viewer.