Loading...
 
Skip to main content

Login with tiki user not possible with Auth:Tiki and Pear

Status
Pending
Subject
Login with tiki user not possible with Auth:Tiki and Pear
Version
1.9.x
Category
  • Error
  • Usability
Feature
User Administration (Registration, Login & Banning)
Submitted by
asif.tmcp
Rating
(0)
Description

Select Login Auth : Tiki and Pear

Try login with a user who is not in ldap but in tiki own db. Login fails.

Solution

function validate_user ( lib/userslib.php)

if (!$auth_cas || $user == 'admin') {
$result = $this->validate_user_tiki($user, $pass, $challenge, $response);
} else {
$result = NULL;
}
switch ($result) {
case USER_VALID:
$userTiki = true;

$userTikiPresent = true;
break;

case PASSWORD_INCORRECT:
$userTikiPresent = true;

break;
}

even if user is authenticated the if ...else if statement takes the pear route and user is detected as not present.

Importance
2
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1363
Created
Friday 28 September, 2007 02:12:15 UTC
by Unknown
LastModif
Friday 28 September, 2007 02:12:15 UTC


Show PHP error messages