WebMods: Delete obsolete login.tpl template. The login form has been

on / and /help and so on for some months.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1934 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-04-25 13:52:19 +00:00
parent 298d7f0997
commit 68c4931e2d
2 changed files with 2 additions and 22 deletions

View File

@@ -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/") {