Issue #570 has been updated by Bart Blanckaert.

CAUSE

index.php outputs some HTML (headers, and so on), then calls sendsms.php

in sendsms.php this line:
header("Location: ".$reset_url);

Should cause the redirect to go to index.php, but with a different option to 
include resetbytoken.php from index.php.


This does not work as header() php only works if no other HTML (echo()) has 
been output already.

A workaround is to buffer the HTML output in index.php, so the header() 
function can send the header data before the HTML data.

Practically:

add "ob_start();" in the beginning of the index.php, inside the <?php><?> block 
before the first echo statement and add ob_end_flush(); at the end.

Then the SMS password reset works fine !


----------------------------------------
Bug #570: Reset your password with a SMS :: not completed
http://tools.lsc-project.org/issues/570

Author: Somchai Kan.
Status: Assigned
Priority: High
Assigned to: Clément OUDOT
Category: Self Service Password
Target version: self-service-password-?


Hi,

I've try to reset the password by sms send the token key via email-sms complete.
But after input the token key in "SMS teken" and then submit.
I don't see the LTB show the new password page after submit the "SMS token" 
from sms.

I think LTB must to show the change password page by not require old password 
after completed for check token key to correct.
I've send the screenshot in attachment.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to