Changeset 9158 for extensions/LCAS/trunk/main.inc.php
- Timestamp:
- Feb 10, 2011, 9:31:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/main.inc.php
r8638 r9158 63 63 64 64 $conf_LCAS= unserialize($conf['LoginCaseAccentsSensitivity']); 65 66 // Set $conf['insensitive_case_logon'] to false, as LCAS takes completely 67 // in charge everything around the case and the accents 68 $conf['insensitive_case_logon'] = false; 65 69 66 70 /* User identification */ 67 71 if (script_basename() == 'identification') 68 72 { 69 if (isset($_POST['username']) and isset($conf_LCAS[ 0]))73 if (isset($_POST['username']) and isset($conf_LCAS[1])) 70 74 { 71 $new_username = LCAS_SearchCaseUsername($_POST['username'],$conf_LCAS[ 0]);75 $new_username = LCAS_SearchCaseUsername($_POST['username'],$conf_LCAS[1]); 72 76 $_POST['username'] = $new_username == '' ? $_POST['username'] : $new_username; 73 77 } … … 87 91 load_language('plugin.lang', LCAS_PATH); 88 92 89 if (isset($conf_LCAS[ 0]))90 $NewPostLogin = LCAS_SearchCaseUsername($_POST['login'], $conf_LCAS[ 0], false);93 if (isset($conf_LCAS[1])) 94 $NewPostLogin = LCAS_SearchCaseUsername($_POST['login'], $conf_LCAS[1]); 91 95 92 96 if (isset($NewPostLogin) and get_userid($NewPostLogin))
Note: See TracChangeset
for help on using the changeset viewer.