← Back to team overview

mahara-contributors team mailing list archive

[Bug 1940020] Re: Remove space in autogenerated username during self-registration

 

** Changed in: mahara
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1940020

Title:
  Remove space in autogenerated username during self-registration

Status in Mahara:
  Fix Committed

Bug description:
  When someone self-registers on the site and has a space in their first
  or last name, Mahara keeps that and suggests it in the pre-filled
  username and allows for it to be created even though the description
  says that the username can't contain spaces. That is causing problems
  when people are trying to log in as the username is not recognised
  correctly.

  To replicate:

  1. Turn on self-registration for the site in the institution settings. Leave 'Confirm registration' turned on.
  2. Self-register and put a space in the first name and the last name, e.g. first name: 'Te Aroha'. last name 'Parker Jones'.
  3. Approve the account as administrator.
  4. As the new account holder, click the registration link to complete your self-registration.

  Expected result: There are no spaces in the username.
  Actual result: There are spaces in the username and when the form is completed, Mahara doesn't complain.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1940020/+subscriptions



References