Repository: sebadob/rauthy (language: rust)

Issue:
Feat: Show Account Creation Date in Admin UI
It looks like from the API docs that the created date for users is available in the API, but I see it anywhere in the admin UI.


Discussion / hints:
Oh, yeah you're right. This is only shown in the account dashboard, but not the admin UI. Will be super simple to display it.

Fix patch:
diff --git a/frontend/src/components/admin/users/UserInfo.svelte b/frontend/src/components/admin/users/UserInfo.svelte
index d97e32a9c..80342c92c 100644
--- a/frontend/src/components/admin/users/UserInfo.svelte
+++ b/frontend/src/components/admin/users/UserInfo.svelte
@@ -224,7 +224,7 @@
             LANGUAGE
         </div>
         <div style="margin-top: .085rem">
-            <OptionSelect bind:value={language} options={LANGUAGES} />
+            <OptionSelect bind:value={language} options={LANGUAGES}/>
         </div>
     </div>
 
@@ -351,6 +351,20 @@
         </Input>
     {/if}
 
+    <!-- Created At-->
+    <div class="unit" style:margin-top="12px">
+        <div class="label font-label">
+            CREATED
+        </div>
+        <div class="value">
+            {#if user.created_at}
+                {formatDateFromTs(user.created_at)}
+            {:else}
+                Never
+            {/if}
+        </div>
+    </div>
+
     <!-- Last Login-->
     <div class="unit" style:margin-top="12px">
         <div class="label font-label">


Test patch: