diff login.php @ 15:ea0f98a0bed8

Fix some issues and bugs caused by recent changes.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 06 Dec 2012 16:52:38 +0200
parents 76c3b89d7b11
children bf567e6402bf
line wrap: on
line diff
--- a/login.php	Thu Dec 06 16:13:08 2012 +0200
+++ b/login.php	Thu Dec 06 16:52:38 2012 +0200
@@ -6,6 +6,10 @@
 
 if (stGetRequestItem("admpass", FALSE) == stGetSetting("admPassword"))
   stAdmSessionStart();
+else
+{
+  if (stGetSetting("debug")) error_log("Admin session AUTH LOGIN failed (".stGetRequestItem("admpass", FALSE).")");
+}
 
 header("Location: https://".stGetRequestItem("goto"));
 ?>
\ No newline at end of file