registration fails if "login_is_email" is set
- Status
- Closed
- Subject
- registration fails if "login_is_email" is set
- Version
- 6.x
- Category
- Usability
- Feature
- User Administration (Registration, Login & Banning)
- Resolution status
- Invalid
- Submitted by
- thraxisp
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
- If you set the "login_is_user" flag, registration fails with the message "email_not_valid".
- Solution
patch committed in r30507
Patch:
Index: /Users/thraxisp/Sites/tw6.x/lib/registration/registrationlib.php
=============
/Users/thraxisp/Sites/tw6.x/lib/registration/registrationlib.php (revision 30497) +++ /Users/thraxisp/Sites/tw6.x/lib/registration/registrationlib.php (working copy)@@ -396,6 +396,11 @@
+ // fix up email if login_is_email is set + if ($prefs'login_is_email' == 'y' && isset($registration'name')) { + $registration'email' = $registration'name'; + } +
function register_new_user($registration, $from_intertiki=false) {
global $prefs, $tikilib;$result=$this->local_check_registration($registration, $from_intertiki);
if ($result !== null) return $result;- Workaround
- Importance
- 8
- Priority
- 40
- 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
- 3623
- Created
- Wednesday 03 November, 2010 20:54:24 UTC
by thraxisp - LastModif
- Tuesday 30 June, 2026 03:14:25 UTC