[Mpuls-commits] r5843 - base/trunk/mpulsweb/lib

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 2 14:10:36 CET 2012


Author: ludwig
Date: 2012-03-02 14:10:36 +0100 (Fri, 02 Mar 2012)
New Revision: 5843

Modified:
   base/trunk/mpulsweb/lib/security.py
Log:
Issue 2926: Add missing commit of the update_last_login_time conn.


Modified: base/trunk/mpulsweb/lib/security.py
===================================================================
--- base/trunk/mpulsweb/lib/security.py	2012-03-02 09:38:21 UTC (rev 5842)
+++ base/trunk/mpulsweb/lib/security.py	2012-03-02 13:10:36 UTC (rev 5843)
@@ -159,6 +159,7 @@
     cursor = conn.cursor()
     cursor.execute(UPDATE_LASTLOGIN_SQL,
                    {'user_id': data.get('id')})
+    conn.commit()
 
 def generateID(obj=None):
     array = [time.time(), os.times(), random.random()]



More information about the Mpuls-commits mailing list