Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 11:53 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Password change fix
PostPosted: Sun Dec 28, 2008 4:44 pm 
Offline

Joined: Sun Dec 28, 2008 4:34 pm
Posts: 5
Location: singapore
When users change their password, they must logout and login again. Otherwise blank page is displayed, without any warnings, messages, etc.

Below is the patch that fixes this problem.

cheers,
Atamurad Hezretkuliyev

File A2BCustomer_UI/A2B_entity_password.php, Line 30:
Code:
if($form_action=="ask-update")
{
    $instance_sub_table = new Table('cc_card');
    $QUERY = "UPDATE cc_card SET  uipass= '".$NewPassword."' WHERE ( ID = ".$_SESSION["card_id"]." ) ";

   // change session variable as well..
   $_SESSION['pr_password'] = $NewPassword;

    $result = $instance_sub_table -> SQLExec ($HD_Form -> DBHandle, $QUERY, 0);
}


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 29, 2008 4:23 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Good stuff again.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 03, 2009 1:47 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
well done!
I committed it on 1.3 branch

it was already done on our trunk

Please next time open a proper ticket on Trac : http://trac.asterisk2billing.org/
and provide a diff patch


Thanks,
/Areski


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group