WIP: Some visual improvements for login #20

Draft
jboi wants to merge 9 commits from fix/login-improvements into princess
Showing only changes of commit 03ea22f7a8 - Show all commits

View file

@ -16,7 +16,7 @@ const password = q("#password")
// 6: IPv6 address // 6: IPv6 address
// MAYBE WITH // MAYBE WITH
// 7: port number // 7: port number
const RE_LOSSY_MXID = new RegExp(`^@?([a-z0-9._=-]+?)(?::((?:(${S_RE_DOMAIN})|((${S_RE_IPV4})|(${S_RE_IPV6})))(?::(\\d+))?))?$`) const RE_LOSSY_MXID = new RegExp(`^@?([a-z0-9._=-]+?)(?::((?:(${S_RE_DOMAIN})|((${S_RE_IPV4})|(\\[${S_RE_IPV6}])))(?::(\\d+))?))?$`)
window.RE_LOSSY_MXID = RE_LOSSY_MXID window.RE_LOSSY_MXID = RE_LOSSY_MXID