diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-11-12 10:36:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 10:36:54 +0000 |
commit | 8ce740d9494254a93d11aaf9d3a041b52b45163d (patch) | |
tree | 284661674a56e3df4376a32324c790f631f6bf74 /clientapi | |
parent | bcb89ada5ebbe54fa057ec403af4074a8c147764 (diff) |
Fix username regex to allow = character (#1578)
Diffstat (limited to 'clientapi')
-rw-r--r-- | clientapi/routing/register.go | 2 |
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. |