diff --git a/WebModules.cpp b/WebModules.cpp index fe2872a1..f75976f1 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -563,7 +563,8 @@ CWebSock::EPageReqResult CWebSock::OnPageRequestInternal(const CString& sURI, CS return PAGE_DEFERRED; } - return PrintTemplate("login", sPageRet); + Redirect("/"); // the login form is here + return PAGE_DONE; } else if (sURI.Left(5) == "/pub/") { return PrintStaticFile(sURI, sPageRet); } else if (sURI.Left(11) == "/skinfiles/") { diff --git a/webskins/_default_/tmpl/login.tmpl b/webskins/_default_/tmpl/login.tmpl deleted file mode 100644 index 2ee29eb5..00000000 --- a/webskins/_default_/tmpl/login.tmpl +++ /dev/null @@ -1,21 +0,0 @@ - - - - You are alredy logged in! - - -
- - - - - - - - - - - - -
User:Password: 
   
-
- -