This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new ca54301  Fixing displaying of issuedAt from Access Tokens
ca54301 is described below

commit ca5430156fc1e7c5a27442000e44c6f001cda613
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Thu Apr 16 13:57:30 2020 +0200

    Fixing displaying of issuedAt from Access Tokens
---
 .../apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
index c0a8913..f6d8910 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
@@ -101,7 +101,7 @@ public class AccessTokenDirectoryPanel
                 JwsJwtCompactConsumer consumer = new 
JwsJwtCompactConsumer(model.getObject().getBody());
                 cellItem.add(new Label(componentId,
                         SyncopeConsoleSession.get().getDateFormat().format(
-                                new 
Date(consumer.getJwtClaims().getIssuedAt()))));
+                                new Date(consumer.getJwtClaims().getIssuedAt() 
* 1000))));
             }
         });
 

Reply via email to