bugphpGroupWare - Bugs: bug #8029, Auto create account records for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8029: Auto create account records for authenticated users - Not Working

Submitted by:  Jim Richardson <treyvan>
Submitted on:  Sat 06 Mar 2004 01:46:49 AM UTC  
 
Item Group: 0.9.16.000 releaseCategory: API - Admin
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: None
Fixed Release: 

Thu 11 Mar 2004 03:19:46 PM UTC, comment #1:

fixed in cvs, thanks for the patch.

Chris Weiss <cw>
Project Administrator
Sat 06 Mar 2004 01:46:49 AM UTC, original submission:

After enabling this feature and Mail authentication I received an SQL error when logging on with a avild email address. It is a missing quote issue. The following patch for the 0.9.16.001 release fixes the issue for me.

--- class.accounts_sql.inc.php.orig 2004-03-05 19:40:16.000000000 -0600
+++ class.accounts_sql.inc.php 2004-03-05 19:41:09.000000000 -0600
@@ -446,7 +446,7 @@
. intval($accountid) . ', 1'
. ')',__LINE__,__FILE__);
$this->db->query('INSERT INTO phpgw_acl (acl_appname, acl_location, acl_account, acl_rights)'
- . "VALUES('preferences' , changepassword', "
+ . "VALUES('preferences' , 'changepassword', "
. intval($accountid) . ', 1'
. ')',__LINE__,__FILE__);
}

Jim Richardson <treyvan>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 11 Mar 2004 03:19:46 PM UTCcwStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1