Modifies regex check for valid matrix server to accept ip addresses.

This commit is contained in:
Jose Flores
2022-02-21 21:31:14 -06:00
committed by Tobias Fella
parent f74c6a41ae
commit 7c807e6a25

View File

@@ -44,7 +44,7 @@ LoginStep {
}
validator: RegularExpressionValidator {
regularExpression: /^\@?[a-zA-Z0-9\._=\-/]+\:[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*\.[a-zA-Z]+(:[0-9]+)?$/
regularExpression: /^\@?[a-zA-Z0-9\._=\-/]+\:[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*(:[0-9]+)?$/
}
}
}