php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 15 = ?
Subscribe to this entry?

 
 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 08:21 UTC] arnaud@php.net
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();
 }
 
 Regards,
 
 Seb
 [2003-07-19 14:23 UTC] yavo@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net 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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC