mirror of https://github.com/MISP/misp-dashboard
Merge branch 'users' into trendings
commit
f7df04b9bf
|
@ -144,6 +144,9 @@ def handleContribution(zmq_name, org, contribType, categ, action, pntMultiplier=
|
||||||
nowSec = int(time.time())
|
nowSec = int(time.time())
|
||||||
pnts_to_add = DEFAULT_PNTS_REWARD
|
pnts_to_add = DEFAULT_PNTS_REWARD
|
||||||
|
|
||||||
|
# if there is a contribution, there is a login (even if ti comes from the API)
|
||||||
|
users_helper.add_user_login(timestamp, org)
|
||||||
|
|
||||||
# is a valid contribution
|
# is a valid contribution
|
||||||
if categ is not None:
|
if categ is not None:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue