From 74fe984ae103287b51be6cc71adbec2491d29d52 Mon Sep 17 00:00:00 2001 From: Son NK Date: Mon, 9 Dec 2019 18:19:42 +0100 Subject: [PATCH] make sure alias pattern check is the same everywhere: Only letter, number, dash (-), underscore (_) can be used in alias prefix --- app/dashboard/templates/dashboard/custom_alias.html | 5 +++-- app/oauth/templates/oauth/authorize.html | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/dashboard/templates/dashboard/custom_alias.html b/app/dashboard/templates/dashboard/custom_alias.html index 2553be6b..40fa039c 100644 --- a/app/dashboard/templates/dashboard/custom_alias.html +++ b/app/dashboard/templates/dashboard/custom_alias.html @@ -24,8 +24,9 @@
-
diff --git a/app/oauth/templates/oauth/authorize.html b/app/oauth/templates/oauth/authorize.html index 259ef663..267822ab 100644 --- a/app/oauth/templates/oauth/authorize.html +++ b/app/oauth/templates/oauth/authorize.html @@ -94,8 +94,8 @@
OR
@@ -103,7 +103,7 @@
- Alias can use letter, number, dash and must be at least 3 characters + Alias can use letter, number, dash and cannot be empty {% endif %}