User creation fails when use email as username is turned on
- Status
- Closed
- Subject
- User creation fails when use email as username is turned on
- Version
- 4.x
- Category
- Error
- Feature
- User Administration (Registration, Login & Banning)
- Resolution status
- Fixed or Solved
- Submitted by
- kurt-hectic
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
When the feature "use email as username" is turned on, the user creation in the backend fails if "send email to user for validiation" is turned on.
To reproduce this, enable "use email as username" and try to create a new user in the admin-users menu. If "Send an email to the user in order to allow him to validate his account" is checked, the creation fails with a message "email validiation requested but email address not set".
The reason for this is that the html form does not contain an email field (since the email is used as username).
- Solution
quick and dirty but worked for me. (tikiwiki 4.2)
tiki-adminusers.php : 157
Copy to clipboard+ if ($prefs['login_is_email'] == 'y' ) { + $_REQUEST['email'] = $_REQUEST['name']; +}- Workaround
- Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3072
- Created
- Wednesday 10 March, 2010 12:57:50 UTC
by kurt-hectic - LastModif
- Monday 01 June, 2026 21:14:40 UTC