mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
userinfo: format exp, iat and updated_at (#2585)
This commit is contained in:
parent
4720199d59
commit
532b997fed
2 changed files with 18 additions and 1 deletions
|
@ -122,7 +122,11 @@
|
|||
<td>{{$k}}</td>
|
||||
<td>
|
||||
{{range $v.AsSlice}}
|
||||
{{if eq $k "exp" "iat" "updated_at"}}
|
||||
<p>{{formatTime .}}</p>
|
||||
{{else}}
|
||||
<p>{{.}}</p>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue