|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23408 Auth: getAuthData bug
Submitted: 2003-04-29 08:16 UTC Modified: 2003-07-19 14:23 UTC
From: jon at jellybob dot co dot uk Assigned: yavo (profile)
Status: Closed Package: PEAR related
PHP Version: 4.3.2RC1 OS: Debian 3.0
Private report: No CVE-ID: None
 [2003-04-29 08:16 UTC] jon at jellybob dot co dot uk
I don't know if I've just misunderstood the purpose of the option, but when I define the option db_fields for the DB driver it doesn't seem to put them anywhere.

What I thought it should do is allow me to go $auth->getAuthData('uid') to get the uid field from my database.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 08:21 UTC]
assigned to maintainer
 [2003-07-18 07:10 UTC] shuet at lagardere dot fr
in function setAuth()
 $session['auth']['data'] = array();
 should be replaced by
if (!isset($session['auth']['data']) || !is_array($session['auth']['data'])) {
     $session['auth']['data'] = array();
 [2003-07-19 14:23 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

This has been fixed in CVS
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 14:03:37 2021 UTC