Merge branch 'master' of https://github.com/matrix-org/dendrite into fix-fed-powerlevels

This commit is contained in:
Till Faelligen 2020-11-12 19:04:51 +01:00
commit c609ed3f68

View file

@ -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.