Skip to content

Commit 3354f66

Browse files
committed
Send user info to analytics
1 parent 6d2155c commit 3354f66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/io/antmedia/console/rest/CommonRestService.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,13 @@ public Result authenticateUser(User user)
414414
message = appNameUserTypeJson.toString();
415415
}
416416
getDataStore().resetInvalidLoginCount(user.getEmail());
417+
User userFinal = user;
418+
//send user info
419+
new Thread() {
420+
public void run() {
421+
sendUserInfo(userFinal.getEmail(), userFinal.getFirstName(), userFinal.getLastName(), userFinal.getScope(), userFinal.getUserType().toString(), userFinal.getAppNameUserType());
422+
}
423+
}.start();
417424
}
418425
else
419426
{

0 commit comments

Comments
 (0)