mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
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:
parent
b398d5ee2a
commit
ffb410df03
2 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue