Invalid login lets you see a closed site
I just put up a 3.2 install and I'm running it with the site closed. When you hit http://www.mydomain.com
, you are sent to
http://www.mydomain.com/tiki-error_simple.php?error=go+away
and get the login form only, which is exactly what I want. The problem is that you can enter anything in the login and pwd fields and you will be sent to
http://www.mydomain.com/tiki-login.php?page=tikiIndex
and presented with an error that indicates either a bad username or a bad password (not a good idea to be this specific from a security standpoint) and you can see the index of the site. Nothing is functional and you will be redirected back to
http://www.mydomain.com/tiki-error_simple.php?error=go+away
if you click around, but you can still see whatever information shows up on the index. I would like to have a bad login just send you right back to
http://www.mydomain.com/tiki-error_simple.php?error=go+away
Is there an easy way to do this?