'closed site' login doesn't redirect correctly
Hi, I'm using TikiWiki for myself and a group of friends privately, so I turned on the closed site feature, and gave registered users permission to access the closed site (so basically, you need to be registered to get to the site). The users can login and all, but when they do (at the simple login page located in tiki-error_simple.php), it doesn't redirect them to inside the site, it just brings them back to this spot. I had to put a link on that page (tiki-error_simple.php) that brings them to it, or they could just type in the url again, in which both cases would take them to the site (which is where I want them to go).
I was looking in tiki-error_simple.php, and the form action (tiki-login.php?page=tiki-index.php) correctly wants to take them where they need to go. I also looked in tiki-login.php, and it seems to be like it would work.
I'm not an expert at cookies and stuff, but my best guess would be that the form action redirects the browser to the main page (which would redirect them to tiki-error_simple.php due to closed site) before they are actually classified as logged in, and once the browser gets there, they get the cookie.
Is there a way to fix this at all? I can live with having the users to login and then click a link to get to the site, but it looks unproffessional and sometimes a person won't notice the line of text that says "After logging in, click here to be directed to the homepage" below the "login" button (I'm not kidding, some people actually didn't see it).