So what is wrong with "onclick='window.close()'" on an input button, so instead of trying to close the window when the login is succesful, you re-display the window if it is not?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.