allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [12/50] [abbrv] git commit: [5453] Logins count
Date Thu, 04 Apr 2013 18:37:14 GMT
[5453] Logins count


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/c5dbe230
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/c5dbe230
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/c5dbe230

Branch: refs/heads/db/5453
Commit: c5dbe2300b48b95feff960722af1b58394b5f832
Parents: 727f1e9
Author: Stefano Invernizzi <stefanoinve@apache.org>
Authored: Wed Jan 9 09:19:56 2013 +0100
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 3 21:45:12 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/plugin.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c5dbe230/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index a3d01b8..61debc9 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -98,6 +98,8 @@ class AuthenticationProvider(object):
             self.session['userid'] = user._id
             self.session.save()
             g.zarkov_event('login', user=user)
+            for l in g.statslisteners:
+                l.addUserLogin(user)
             return user
         except exc.HTTPUnauthorized:
             self.logout()


Mime
View raw message