Please select To the mobile version | Continue to access the desktop computer version
| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5866|Reply: 6
Collapse the left

[FIXED]DX3.3 Forgot Password Parameters error

[Copy link]
Post time: 2017-02-21 19:05
| Show all posts |Read mode
Edited by vinicius.edson at 2017-3-1 00:58

I've update my version from X3.2 ML to X3.3 ML and the Forgot Password form doesn't work anymore.



I've tried this fix already without sucess.

http://codersclub.org/discuzx/forum.php?mod=viewthread&tid=4303

My change on member_getpasswd.php
  1. if(!submitcheck('getpwsubmit') || $_GET['newpasswd1'] != $_GET['newpasswd2']) {
  2.                 $hashid = $_GET['id'];
  3.                 $uid = $_GET['uid'];
  4.                 $sign = $_GET['sign'];
  5.                 include template('member/getpasswd');
Copy the Code
My change on getpasswd.htm
  1. <form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$sign">
Copy the Code

I don't know if it helps, but the retrieve link address looks incomplete to me, missing the sign=$sign on it.

  1. http://forum.pwdevgroup.com.br/member.php?mod=getpasswd&uid=7448&id=uAAIez
Copy the Code

Fixed with the suggestion of
rameshkiran114

search in member_getpasswd.php and remove this bro~..
  1. &&$_GET['sign'] === make_getpws_sign($_GET['uid'], $_GET['id'])
Copy the Code

Tnks, bro!
Post time: 2017-02-24 16:42
| Show all posts
1) change member_getpasswd.php like this

  1. if(!submitcheck('getpwsubmit') || $_GET['newpasswd1'] != $_GET['newpasswd2']) {
  2. $hashid = $_GET['id'];
  3. $uid = $_GET['uid'];
  4. $sign = make_getpws_sign($_GET['sign']);
  5. include template('member/getpasswd');
Copy the Code


(or)

2) search in member_getpasswd.php and remove this bro~..

  1. &&$_GET['sign'] === make_getpws_sign($_GET['uid'], $_GET['id'])
Copy the Code

 Russia

Post time: 2017-02-22 21:27
| Show all posts
I've tried this fix already without sucess.
It is a wrong solution in your case.
That solution is not useful for x3.3.


 Author| Post time: 2017-02-24 01:05
| Show all posts
vot 2017-2-22 21:27
It is a wrong solution in your case.
That solution is not useful for x3.3.

Is there a known solution to this bug on X3.3?

 Russia

Post time: 2017-02-24 18:09
| Show all posts
@vinicius.edson,
please report if the solution from rameshkiran114 was helpful for you?!


 Author| Post time: 2017-03-01 00:48
| Show all posts
Edited by vinicius.edson at 2017-3-1 00:59
rameshkiran114 2017-2-24 16:42
1) change member_getpasswd.php like this

Only the second suggestion worked. That is enough!

Thanks so much!

 Russia

Post time: 2017-03-04 17:52
| Show all posts
The post of rameshkiran114 offered TWO different solutions!
What the solution did you used, 1) or 2) ?

You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-03-28 15:49 GMT+3 , Processed in 0.062957 sec., 10 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list