soaivu / clipbucket

Automatically exported from code.google.com/p/clipbucket
0 stars 0 forks source link

Password reset with no avcode #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. change user.class.php wor number around 1322

if(!$udetails['avcode']) 
                    {
                        $avcode = RandomString(10);
                        $db->update(tbl($this->dbtbl['users']),array('avcode'),array($avcode)," userid='".$udetails['userid']."'");         
                    }else{
                                            $avcode = $udetails['avcode'];
                                        }

                    $more_var = array
                    ('{username}'   => $udetails['username'],
                     '{email}'      => $udetails['email'],
                     '{avcode}'     => $avcode, //$udetails['avcode'],
//                   '{avcode}'     => $udetails['avcode'],
                     '{userid}'     => $udetails['userid'],
                    );

Original issue reported on code.google.com by khankhus...@gmail.com on 15 Sep 2012 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by zomail...@gmail.com on 6 May 2013 at 12:15

GoogleCodeExporter commented 9 years ago
Fixed in 2.7 Rev 1067

Original comment by arslan...@gmail.com on 22 May 2013 at 7:28