Hello guys..
I have a strange problem. I am creating new users who are required to change password on the first login. I am only giving them access to the "graph" console. When the user logs in for the first, he is prompted for a new password, but after entering the new password, they are being directed to the "console" and are getting an "acccess denied" error. Is there something that needs to be changed in "auth_changepassword.php"? thanks much.
- V.
auth_changepassword.php - Error
Moderators: Developers, Moderators
The change password page was not honoring the "Login Options" setting as it should have. I created the following patch against 'auth_changepassword.php'. You will also see this change in version 0.8.3.
-Ian
Code: Select all
48,58c48
< /* ok, at the point the user has been sucessfully authenticated; so we must
< decide what to do next */
< switch ($user["login_opts"]) {
< case '1': /* referer */
< header("Location: " . $_POST["ref"]); break;
< case '2': /* default console page */
< header("Location: index.php"); break;
< case '3': /* default graph page */
< header("Location: graph_view.php"); break;
< }
<
---
> header("Location: " . $_POST["ref"]);
-
- Posts: 11
- Joined: Fri Jul 11, 2003 1:58 pm
Thank you..
Thanks for the fix fix rax.. You are just great. How do I apply this patch to the current build? Thanks much.
- V.
- V.
-
- Posts: 11
- Joined: Fri Jul 11, 2003 1:58 pm
Who is online
Users browsing this forum: No registered users and 3 guests