Admin user edit page doesn't warn about bad usernames

Bug #776887 reported by Hugh Davenport
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Hugh Davenport

Bug Description

If an admin is changing the username of a user, they can enter in a bad username (less than 3 chars, more than upper limit, bad charaters within, etc). When the form is submitted no verification is done, but the change_username function fails before writing to database.

It would be good to give feedback as to why the username is failing.

Cheers,

Hugh

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
status: New → In Progress
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.5.0
Changed in mahara:
importance: Undecided → Low
Changed in mahara:
assignee: nobody → Hugh Davenport (hugh-catalyst)
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.