Changeset 19953


Ignore:
Timestamp:
01/07/13 21:46:07 (7 years ago)
Author:
Eric
Message:

Next version is 2.41.3 :
Bug 2818 fixed - "Reject user's connexion until registration is confirmed" should not reject admins connections

Location:
extensions/UserAdvManager/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/changelog.txt.php

    r19234 r19953  
    364364            Update it_IT, thanks to : virgigiole 
    365365            Update lv_LV, thanks to : agrisans 
     366 
     367-- 2.41.3 : Bug 2818 fixed - "Reject user's connexion until registration is confirmed" should not reject admins connections 
     368            Update it_IT, thanks to : Ericnet  
    366369*/ 
    367370?> 
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r19234 r19953  
    431431 
    432432  // Avoid login into public galleries until registration confirmation is done 
    433   if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'false') or ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and UAM_UsrReg_Verif($user['id']))) 
     433  if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'false') or ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and UAM_UsrReg_Verif($user['id'])) or  (!is_admin() and !is_webmaster())) 
    434434  { 
    435435    // Performing redirection to profile page on first login 
Note: See TracChangeset for help on using the changeset viewer.