Do not check username while logging.

This commit is contained in:
Black Hat
2018-10-16 18:29:19 +08:00
parent 3430882e05
commit 7b10707dde
3 changed files with 0 additions and 28 deletions

View File

@@ -14,11 +14,6 @@ LoginForm {
loginButtonTooltip.open()
return
}
if (!(usernameField.text.startsWith("@") && usernameField.text.includes(":"))) {
loginButtonTooltip.text = "Username should be in format of @example:example.com"
loginButtonTooltip.open()
return
}
loginButton.text = "Logging in..."
loginButton.enabled = false