Sorry, Petri, but we need to undo these changes, because:
- they could break accounts in existing installations - strtolower can corrupt strings in multibyte languages Is it really a problem that usernames are case sensitive on PostgreSQL?
This commit is contained in:
@@ -484,8 +484,6 @@ function create_user_record($username, $password) {
|
||||
/// Creates a bare-bones user record
|
||||
global $REMOTE_ADDR, $CFG;
|
||||
|
||||
$username = strtolower($username);
|
||||
|
||||
if (function_exists(auth_get_userinfo)) {
|
||||
if ($newinfo = auth_get_userinfo($username)) {
|
||||
foreach ($newinfo as $key => $value){
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
/// If data submitted, then process and store.
|
||||
|
||||
if ($usernew = data_submitted()) {
|
||||
$usernew->username = strtolower($usernew->username);
|
||||
$usernew->firstname = strip_tags($usernew->firstname);
|
||||
$usernew->lastname = strip_tags($usernew->lastname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user