bugphpGroupWare - Bugs: bug #12446, Changing loginID results in FUD...

 
 

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

bug #12446: Changing loginID results in FUD user creation

Submitted by:  Sonni <sonni>
Submitted on:  Thu 24 Mar 2005 02:10:15 PM UTC  
 
Item Group: 0.9.16.005Category: phpgw-FUDForum
Severity: 3 - NormalPriority: 1 - Later
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: BZIP2Operating System: None
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Sun 04 Dec 2005 06:21:18 AM UTC, comment #1:

This has been fixed in stable cvs for some time. Please update

Dave Hall <skwashd>
Project Administrator
Thu 24 Mar 2005 02:10:15 PM UTC, original submission:

Changing an accounts loginID, from A to B, and then back to A will result in a DB unique constrain.

At line 143 in fudforum/inc/class.ufud.inc.php

The following code is used to check if the user already exist:

$GLOBALS['phpgw']->db->query("SELECT login FROM phpgw_fud_users WHERE login='$lid'");

but when changing an accounts loginID ($lid), the new loginID is used to check for user existence.

The check should use the phpgq_id, like this:

$GLOBALS['phpgw']->db->query("SELECT login FROM phpgw_fud_users WHERE phpgw_id='$id'");

Sonni <sonni>

 

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
Sun 04 Dec 2005 06:21:18 AM UTCskwashdStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1