Parent auth fails due to mixed case checking
Bug #1364170 reported by
Robert Lyon
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
1.10 |
Fix Released
|
High
|
Robert Lyon | ||
1.8 |
Fix Released
|
High
|
Robert Lyon | ||
1.9 |
Fix Released
|
High
|
Robert Lyon | ||
15.04 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Currently in the auth/user.php [around line 187] there is a query that is matching lower(username) against username
At the very least it should be lower(u.username) against us.username
however the whole sql query could be tidied up to function better.
Normally, usernames are email addresses and are stored as lowecase strings - but sometimes you need a username that is not lowercase and so this check fails.
Changed in mahara: | |
milestone: | 1.10.0 → 1.10.1 |
no longer affects: | mahara/1.7 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/3677