Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Request #6215 Differentiate autologin OR remember login data
Submitted: 2005-12-10 21:54 UTC
From: maybee at gmx dot de Assigned: lsmith
Status: Closed Package: LiveUser
PHP Version: 4.4.1 OS: nonrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 26 - 5 = ?

 
 [2005-12-10 21:54 UTC] maybee at gmx dot de
Description: ------------ Differentiate autologin or remember login data. Edit method login() at line 1014 in LiveUser.php: function login($handle = '', $passwd = '', $remember = false) { if (empty($handle) && $remember) { Check the var $remember and allow so to decide autologin/rememberdata for login form. Or expand the config string: $this->_options['login']['autologin'] and edit method login(): if (empty($handle) && $this->_options['login']['autologin']) {

Comments

 [2005-12-11 10:37 UTC] lsmith
While thinking about this request I have begun wondering if we should not severely trim down init() to essentially just the _unfreeze() call, the idle/expire handling and the forceLogin event. It would then be up to the user to call login() and logout() themselves. This would obviously be a big BC break.
 [2005-12-11 13:54 UTC] lsmith
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Actually I will take further discussions to the list.