3
Or you could try removing that hidden form field completely. I looked at how that field is processed in include/checklogin.php. The parsing is complicated and I'd have to spend more time to figure out exactly what it's doing. But if that form field is missing, then the default behavior is a redirect to XOOPS_URL.'/index.php', which appears to be what you want.