summaryrefslogtreecommitdiffstats
path: root/cobbler/modules/authn_configfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/modules/authn_configfile.py')
-rw-r--r--cobbler/modules/authn_configfile.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cobbler/modules/authn_configfile.py b/cobbler/modules/authn_configfile.py
index 5740efa..30637b7 100644
--- a/cobbler/modules/authn_configfile.py
+++ b/cobbler/modules/authn_configfile.py
@@ -52,7 +52,7 @@ def __parse_storage():
pass
return results
-def authenticate(username,password):
+def authenticate(api_handle,username,password):
"""
Validate a username/password combo, returning True/False
@@ -70,7 +70,4 @@ def authenticate(username,password):
return False
-if __name__ == "__main__":
- print authenticate("cobbler","cobbler")
- print authenticate("cobbler","bogus")