Changeset 1023855
- Timestamp:
- 11/11/2014 01:39:38 PM (11 years ago)
- Location:
- active-directory-integration/trunk
- Files:
-
- 2 edited
-
ad-integration_new.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
active-directory-integration/trunk/ad-integration_new.php
r1000634 r1023855 667 667 $username = strtolower($username); 668 668 $password = stripslashes($password); 669 669 670 // Stop if username is empty 671 if (empty($username)) { 672 $this->_log(ADI_LOG_ERROR,'Empty username. Authentication failed.'); 673 return false; 674 } 670 675 671 676 // Don't use Active Directory for admin user (ID 1) … … 2414 2419 protected function _get_failed_logins_within_block_time($username) { 2415 2420 global $wpdb; 2421 2422 if (empty($username)) { 2423 return 0; 2424 } 2425 2416 2426 $table_name = $wpdb->base_prefix . ADIntegrationPlugin::TABLE_NAME; 2417 2427 $time = time() - (int)$this->_block_time; -
active-directory-integration/trunk/readme.txt
r1000634 r1023855 134 134 = 1.1.6 = 135 135 * UPD: Multisite Support updated. Centralized settings for all blogs. (Issue #0070. Thanks to William Earnhardt for his work.) 136 * FIX: Fixed a problem with empty usernames. (Thanks to Johnathon Williams for the bug report.) 136 137 137 138 = 1.1.5 =
Note: See TracChangeset
for help on using the changeset viewer.