{"id":9290049,"date":"2017-07-05T09:01:11","date_gmt":"2017-07-05T09:01:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/case-sensitivity-issue\/"},"modified":"2017-07-05T09:01:11","modified_gmt":"2017-07-05T09:01:11","slug":"case-sensitivity-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/case-sensitivity-issue\/","title":{"rendered":"Case Sensitivity issue"},"content":{"rendered":"<p>Slight bug\/issue<\/p>\n<p>User gets their password wrong, and you get an log entry of :-<\/p>\n<p>     Authentication failure for {$username} <\/p>\n<p>Which hits wordpress-soft and gives them 3 tries to login. (this is good)<\/p>\n<p>User gets their password wrong while using different capitalisation of their username (users!!!), and you get an log entry of :-<\/p>\n<p>     Authentication attempt for unknown user {$username}<\/p>\n<p>Which hits wordpress-hard and is an instant ban. (this is bad)<\/p>\n<p>Any chance of an update to make the if statement case insensitive?<\/p>\n<p>    $msg .= (wp_cache_get($username, &#8216;userlogins&#8217;))<br \/>\n            ? &#8220;uthentication failure for {$username}&#8221;<br \/>\n            : &#8220;uthentication attempt for unknown user {$username}&#8221;;<\/p>\n<p>Thanks&#8230;<\/p>\n","protected":false},"template":"","class_list":["post-9290049","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9290049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9290049\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9290049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}