allow period for the alias

This commit is contained in:
Carlosokumu 2025-01-20 12:11:17 +03:00
parent 6afccefd1f
commit 26b53c79df
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -5,7 +5,7 @@ import (
)
const (
aliasRegex = `^[a-zA-Z0-9]+$`
aliasRegex = `^[a-zA-Z0-9.]+$`
)
// IsValidAlias checks if the alias is a valid alias format