Update of /cvsroot/tmda/tmda/contrib/cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv2803
Modified Files:
tmda-cgi.py
Log Message:
Logging in with debug mode (append a ?debug=1 to the end of the URL) will
display a helpful error message on failure. This mode will help debug file
permission errors that prevent login.
Index: tmda-cgi.py
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/cgi/tmda-cgi.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tmda-cgi.py 26 Nov 2002 19:30:56 -0000 1.2
+++ tmda-cgi.py 30 Nov 2002 18:15:18 -0000 1.3
@@ -58,7 +58,11 @@
import Login
if Form.has_key("cmd"):
Login.Show("Wrong password. Try again.")
- else: Login.Show()
+ else:
+ if Form.has_key("debug"):
+ Login.Show(Debug = Form["debug"].value)
+ else:
+ Login.Show()
elif Form.has_key("cmd"):
# Just log in?
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs