Loading...
 
Skip to main content

admin validation - new user account - can't login

Status
Closed
Subject
admin validation - new user account - can't login
Version
1.9.x
Category
  • Error
  • Patch
Feature
User Administration (Registration, Login & Banning)
Resolution status
Please retest
Submitted by
zak
Volunteered to solve
Mike
Lastmod by
Marc Laporte
Rating
(0)
Description

new user can register but after admin validate his account user can't login because have no password in database

version: tikiwiki 1.9.9 - sirius
conf: allowRegister=y ; validateRegistration=y ; validateUsers=n

Solution

variable order is bad
tiki-register.php (line 132)
//old-->

Image
Copy to clipboard
$userlib->add_user($_REQUEST["name"], $apass, $_REQUEST["email"], $_REQUEST["pass"], '', 'n');


//new-->

Image
Copy to clipboard
$userlib->add_user($_REQUEST["name"], $apass, $_REQUEST["email"], '', $_REQUEST["pass"], 'n');




Code was rolled back to before I made that mod, so the realname mod was effectively removed. Please retest and confirm this is now working for you.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1532
Created
Sunday 03 February, 2008 16:20:45 UTC
by Unknown
LastModif
Thursday 14 January, 2010 18:54:05 UTC


Show PHP error messages