Changeset 17884


Ignore:
Timestamp:
09/13/12 17:11:31 (7 years ago)
Author:
flop25
Message:

don't try to check if a user is validated for admin, guest and AC users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r17846 r17884  
    102102      } 
    103103    } 
    104   } 
    105  
    106   // Perform user logout after registration if not validated 
    107   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 
    113113} 
    114114 
Note: See TracChangeset for help on using the changeset viewer.