Rolling back changes,no need to edit here
This commit is contained in:
parent
397c2e4a33
commit
3577660f84
@ -97,12 +97,6 @@ void RegisterScreen::doRegister()
|
||||
{
|
||||
m_info_widget->setText(_("Email has to be between 4 and 50 characters long!"), false);
|
||||
}
|
||||
else if (email.find("@")== -1 || email.find(".")== -1 ||\
|
||||
( email.find_last_of(".") - email.find_last_of("@") <= 2 ) ||\
|
||||
email.find_last_of("@")==0 )
|
||||
{
|
||||
m_info_widget->setText(_("Email is invalid!"), false);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_info_widget->setDefaultColor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user