From 3e859d3469ecb0250161abcba4276a4937777e50 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Tue, 21 Jan 2025 13:15:53 +0300 Subject: [PATCH] allow period for the alias regex --- identity/alias.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identity/alias.go b/identity/alias.go index f14774b..0971c48 100644 --- a/identity/alias.go +++ b/identity/alias.go @@ -5,7 +5,7 @@ import ( ) const ( - aliasRegex = `^[a-zA-Z0-9.]+$` + aliasRegex = `^[a-zA-Z0-9]+(\.[a-zA-Z0.9]+)*$` ) // IsValidAlias checks if the alias is a valid alias format