KEYCLOAK-12736 Set time for admin events in milliseconds, instead of converted seconds

This commit is contained in:
stianst 2020-01-21 08:37:55 +01:00 committed by Stian Thorgersen
parent c821dcf820
commit a3e5f9d547

View file

@ -240,7 +240,7 @@ public class AdminEventBuilder {
if(realm.isAdminEventsDetailsEnabled()) { if(realm.isAdminEventsDetailsEnabled()) {
includeRepresentation = true; includeRepresentation = true;
} }
adminEvent.setTime(Time.toMillis(Time.currentTime())); adminEvent.setTime(Time.currentTimeMillis());
if (store != null) { if (store != null) {
try { try {