View Issue Details

IDProjectCategoryView StatusLast Update
0000453Main CAcert Websiteorganisational sectionpublic2013-01-14 21:47
ReporterSourcerer Assigned ToSourcerer  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version2007 
Summary0000453: linking to deleted accounts
DescriptionWhen we assign an org-admin, it can happen that a person has a second, deleted account that has the same email address. It can then happen that the org-account is assigned to the deleted account instead of the new account.
So we have to add a check, that org-admins can only be not-deleted accounts.
TagsNo tags attached.
Reviewed by
Test Instructions

Activities

Sourcerer

2007-09-30 00:43

administrator   ~0000890

Bug fixed:

diff -r1.84 account.php
1952c1952
< $res = mysql_query("select * from `users` where `email`='".$_REQUEST['email']."'");
---
> $res = mysql_query("select * from `users` where `email`='".$_REQUEST['email']."' and `deleted`=0");

Issue History

Date Modified Username Field Change
2007-09-29 16:35 Sourcerer New Issue
2007-09-30 00:43 Sourcerer Status new => solved?
2007-09-30 00:43 Sourcerer Fixed in Version => production
2007-09-30 00:43 Sourcerer Resolution open => fixed
2007-09-30 00:43 Sourcerer Assigned To => Sourcerer
2007-09-30 00:43 Sourcerer Note Added: 0000890
2007-10-24 05:17 evaldo Status solved? => closed
2013-01-14 21:47 Werner Dworak Fixed in Version => 2007