From 61f3d2bd30e64ff81bf55ccd657497397c09756e Mon Sep 17 00:00:00 2001 From: Simon Strandgaard Date: Fri, 10 Apr 2026 01:33:14 +0200 Subject: [PATCH] fix: show copy button for newly created API key in table row When api_key_show_once is enabled, the top row was missing its copy button because key_plaintext is None. Now falls back to new_api_key when the key prefix matches. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend_multi_user/templates/account.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend_multi_user/templates/account.html b/frontend_multi_user/templates/account.html index 8bbe4da9..77faca4e 100644 --- a/frontend_multi_user/templates/account.html +++ b/frontend_multi_user/templates/account.html @@ -571,8 +571,9 @@

API Keys

{{ key.key_prefix }}... - {% if key.key_plaintext %} - {% endif %}