aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-11-12 10:36:54 +0000
committerGitHub <noreply@github.com>2020-11-12 10:36:54 +0000
commit8ce740d9494254a93d11aaf9d3a041b52b45163d (patch)
tree284661674a56e3df4376a32324c790f631f6bf74 /clientapi/routing
parentbcb89ada5ebbe54fa057ec403af4074a8c147764 (diff)
Fix username regex to allow = character (#1578)
Diffstat (limited to 'clientapi/routing')
-rw-r--r--clientapi/routing/register.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go
index 756eafe2..90e9eed3 100644
--- a/clientapi/routing/register.go
+++ b/clientapi/routing/register.go
@@ -113,7 +113,7 @@ var (
// TODO: Remove old sessions. Need to do so on a session-specific timeout.
// sessions stores the completed flow stages for all sessions. Referenced using their sessionID.
sessions = newSessionsDict()
- validUsernameRegex = regexp.MustCompile(`^[0-9a-z_\-./]+$`)
+ validUsernameRegex = regexp.MustCompile(`^[0-9a-z_\-=./]+$`)
)
// registerRequest represents the submitted registration request.