SMF Support > SMF 2.0.x Support
SESSION[\'login_url\'] not working, need help
(1/1)
drool:
I might miss this looking through all of the search results.
here is the problem
When I click on the link from an email notification like this:
http://www.mysite.com/forum/index.php?topic=10.new;topicseen#new [nofollow]
It opens up the smf login page, but when I login it redirects me to the index page of the forum, supposedly I should be redirected to the topic link above.
am I missing something??
Thanks in advance!!!!
drool:
I made this to work by:
In LogInOut.php--> function DoLogin()
Changing this:
redirectexit('action=login2;sa=check;member=' . $user_info['id'], $context['server']['needs_login_fix']);
to this:
redirectexit($_SESSION['login_url'], $context['server']['needs_login_fix']);
Navigation
[0] Message Index
Go to full version