projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5b33e
)
Commit the login command, so we properly update last login date
author
Magnus Hagander
<magnus@hagander.net>
Tue, 18 Nov 2008 13:06:52 +0000
(13:06 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 18 Nov 2008 13:06:52 +0000
(13:06 +0000)
planetadmin/auth.py
patch
|
blob
|
blame
|
history
diff --git
a/planetadmin/auth.py
b/planetadmin/auth.py
index 3fed0b445541e4e4740b460122330a4044be30bd..3df82bc689fba01a13fc999871e98abcf81e179b 100644
(file)
--- a/
planetadmin/auth.py
+++ b/
planetadmin/auth.py
@@
-9,6
+9,7
@@
class AuthBackend:
cur = conn.cursor()
cur.execute('SELECT * FROM community_login(%s,%s)', (username, password))
row = cur.fetchall()[0]
+ conn.commit()
finally:
conn.close()