diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-09-05 10:19:40 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-09-05 10:19:40 -0400 |
commit | 57cf5ceb00b3d475f925c1bf2076e0724d10778a (patch) | |
tree | adf5a4f324376d3147239165006b61f80388b243 /cobbler/api.py | |
parent | beef07709f8291923e4c2b36318d2d54d14a6371 (diff) | |
download | cobbler-57cf5ceb00b3d475f925c1bf2076e0724d10778a.tar.gz cobbler-57cf5ceb00b3d475f925c1bf2076e0724d10778a.tar.xz cobbler-57cf5ceb00b3d475f925c1bf2076e0724d10778a.zip |
Don't log variables before authn/authz result
Diffstat (limited to 'cobbler/api.py')
-rw-r--r-- | cobbler/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/api.py b/cobbler/api.py index 01658a6d..817877ab 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -487,16 +487,16 @@ class BootAPI: """ (Remote) access control. """ - self.log("authenticate",[user,rc]) rc = self.authn.authenticate(self,user,password) + self.log("authenticate",[user,rc]) return rc def authorize(self,user,resource,arg1=None,arg2=None): """ (Remote) access control. """ - self.log("authorize",[user,resource,arg1,arg2,rc],debug=True) rc = self.authz.authorize(self,user,resource,arg1,arg2,acl_engine=self.acl_engine) + self.log("authorize",[user,resource,arg1,arg2,rc],debug=True) return rc def build_iso(self,iso=None,profiles=None,systems=None,tempdir=None): |