mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #63116
[Bug 1940020] A change has been merged
Reviewed: https://reviews.mahara.org/11977
Committed: https://git.mahara.org/mahara/mahara/commit/e2fffebeb8ca49dc1bcf5e3b0ea583d26d62922c
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit e2fffebeb8ca49dc1bcf5e3b0ea583d26d62922c
Author: Dianne Tennent <diannetennent@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 7 14:56:30 2021 +1200
Bug 1940020: Remove space in autogenerated username during self-
registration
Change-Id: Idec6a145b8e51332eff1fd1350ade70693aa8d2a
--
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