Ignore:
Timestamp:
Sep 13, 2012, 6:49:31 PM (12 years ago)
Author:
Eric
Message:

New field in #_users table is filled with exclusion of Guest user ans AC users but includes admins and webmaster users.

Excluding admins and webmaster from connection rejection. So they can always connect the gallery ;-)

File:
1 edited

Legend:

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

    r17890 r17891  
    105105
    106106  // 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']))
     107  if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id']) and !is_admin() and is_webmaster())
    108108  {
    109109    invalidate_user_cache();
Note: See TracChangeset for help on using the changeset viewer.