fix: remove pointless internal UUID from settings, show login key label instead

This commit is contained in:
M1 2026-03-17 06:31:41 +04:00
parent 9d8982ae50
commit 2ec1915ef5
1 changed files with 2 additions and 5 deletions

View File

@ -15,11 +15,8 @@
<h2 class="text-sm font-semibold text-gray-300 mb-4">Account</h2> <h2 class="text-sm font-semibold text-gray-300 mb-4">Account</h2>
<div class="space-y-3"> <div class="space-y-3">
<div> <div>
<label class="block text-xs text-gray-500 mb-1">Account ID <span class="text-gray-700 normal-case font-normal">(internal — not your login key)</span></label> <label class="block text-xs text-gray-500 mb-1">Login Key</label>
<div class="flex gap-2"> <p class="text-sm text-gray-500 italic">Hidden for security. Use "Rotate Key" below to replace it — the new key will be shown immediately.</p>
<code id="account-id" class="flex-1 bg-gray-800 border border-gray-700 rounded-lg px-4 py-2.5 text-gray-600 text-sm"><%= it.account.id %></code>
</div>
<p class="text-xs text-gray-600 mt-1.5">Your login key was shown once at registration. Use "Rotate Key" below to replace it — the new key will be shown immediately.</p>
</div> </div>
<div> <div>
<label class="block text-xs text-gray-500 mb-1">Member since</label> <label class="block text-xs text-gray-500 mb-1">Member since</label>