Remove extraneous logging arg in authform login plugin
[cascardo/ipsilon.git] / ipsilon / login / authform.py
index 0e20a60..55dc6b3 100644 (file)
@@ -23,7 +23,6 @@ from ipsilon.util import config as pconfig
 from string import Template
 import cherrypy
 import subprocess
-import logging
 
 
 class Form(LoginFormBase):
@@ -39,7 +38,7 @@ class Form(LoginFormBase):
                 error = cherrypy.request.headers['EXTERNAL_AUTH_ERROR']
             except KeyError:
                 error = "Unknown error using external authentication"
-                cherrypy.log.error("Error: %s" % error, logging.ERROR)
+                cherrypy.log.error("Error: %s" % error)
             return self.lm.auth_failed(self.trans)