incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefanoi...@apache.org
Subject git commit: [5453] Logins count
Date Wed, 09 Jan 2013 08:20:43 GMT
Updated Branches:
  refs/heads/si/5453 942a4a023 -> 9fc609abf


[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/9fc609ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/9fc609ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/9fc609ab

Branch: refs/heads/si/5453
Commit: 9fc609abf16713084f5cae209ed29c7375943216
Parents: 942a4a0
Author: Stefano Invernizzi <stefanoinve@apache.org>
Authored: Wed Jan 9 09:19:56 2013 +0100
Committer: Stefano Invernizzi <stefanoinve@apache.org>
Committed: Wed Jan 9 09:19:56 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9fc609ab/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index dbd159e..13eb7bb 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