From 5b0854124266fe95b30e495af7b643dce71c3ce2 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 2 Jun 2026 12:39:05 -0400 Subject: [PATCH] Fixes #22340: Correct display of allowed IPs for tokens in web UI --- netbox/users/ui/panels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/users/ui/panels.py b/netbox/users/ui/panels.py index 35a40b88b..c7c51e381 100644 --- a/netbox/users/ui/panels.py +++ b/netbox/users/ui/panels.py @@ -14,7 +14,7 @@ class TokenPanel(panels.ObjectAttributesPanel): write_enabled = attrs.BooleanAttr('write_enabled') expires = attrs.TextAttr('expires') last_used = attrs.TextAttr('last_used') - allowed_ips = attrs.TextAttr('allowed_ips') + allowed_ips = attrs.ArrayAttr('allowed_ips', label=_('Allowed IPs')) class TokenExamplePanel(panels.Panel):