mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Allow creating unencrypted accounts again
This commit is contained in:
parent
67e85b3ddc
commit
ea45d4617f
|
@ -76,7 +76,7 @@ void LoginScreen::onCreateNewProfile()
|
|||
return;
|
||||
}
|
||||
|
||||
if (pass.size() < 6)
|
||||
if (pass.size()!=0 && pass.size() < 6)
|
||||
{
|
||||
QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("The password must be at least 6 characters."));
|
||||
return;
|
||||
|
|
|
@ -375,9 +375,6 @@ margin-bottom:45px;</string>
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="newPass">
|
||||
<property name="maxLength">
|
||||
<number>64</number>
|
||||
</property>
|
||||
<property name="echoMode">
|
||||
<enum>QLineEdit::Password</enum>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue
Block a user