diff options
author | Simo Sorce <simo@redhat.com> | 2014-09-10 17:20:02 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-09-24 20:51:47 +0200 |
commit | b4bcb99e3217e658c1277cd5d484fa0c62c7aa0c (patch) | |
tree | 43ac5b08ed35f207eba1bc34dba89162d847a95f /ipsilon/login/authtest.py | |
parent | e0895efb26de64a28de7b9219f524b715c396b2b (diff) | |
download | ipsilon-b4bcb99e3217e658c1277cd5d484fa0c62c7aa0c.tar.gz ipsilon-b4bcb99e3217e658c1277cd5d484fa0c62c7aa0c.tar.xz ipsilon-b4bcb99e3217e658c1277cd5d484fa0c62c7aa0c.zip |
Use transactions throughout the code
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/login/authtest.py')
-rwxr-xr-x | ipsilon/login/authtest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipsilon/login/authtest.py b/ipsilon/login/authtest.py index 8eae0b6..55b30a4 100755 --- a/ipsilon/login/authtest.py +++ b/ipsilon/login/authtest.py @@ -33,7 +33,8 @@ class TestAuth(LoginFormBase): if username and password: if password == 'ipsilon': cherrypy.log("User %s successfully authenticated." % username) - return self.lm.auth_successful(username, 'password') + return self.lm.auth_successful(self.trans, + username, 'password') else: cherrypy.log("User %s failed authentication." % username) error = "Authentication failed" |