From 3f16bef4ab31c4c1e8de787cf32f3cb4b46070e0 Mon Sep 17 00:00:00 2001 From: Jimmy Tanagra Date: Thu, 1 May 2025 23:27:04 +1000 Subject: [PATCH] Create API Token: add regex validation to html input Signed-off-by: Jimmy Tanagra --- bundles/org.openhab.core.io.http.auth/pages/authorize.html | 2 +- .../src/main/resources/messages.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.core.io.http.auth/pages/authorize.html b/bundles/org.openhab.core.io.http.auth/pages/authorize.html index e4b26dc1386..a2c67d183f8 100644 --- a/bundles/org.openhab.core.io.http.auth/pages/authorize.html +++ b/bundles/org.openhab.core.io.http.auth/pages/authorize.html @@ -114,7 +114,7 @@
- +
diff --git a/bundles/org.openhab.core.io.http.auth/src/main/resources/messages.properties b/bundles/org.openhab.core.io.http.auth/src/main/resources/messages.properties index ac450af0914..7223a9629be 100644 --- a/bundles/org.openhab.core.io.http.auth/src/main/resources/messages.properties +++ b/bundles/org.openhab.core.io.http.auth/src/main/resources/messages.properties @@ -16,7 +16,7 @@ auth.placeholder.username = User Name auth.placeholder.password = Password auth.placeholder.newpassword = New Password auth.placeholder.repeatpassword = Confirm New Password -auth.placeholder.tokenname = Token Name +auth.placeholder.tokenname = Token Name (alphanumeric) auth.placeholder.tokenscope = Token Scope (optional) auth.button.signin = Sign In