diff --git a/fbreader/src/networkActions/AuthenticationDialog.cpp b/fbreader/src/networkActions/AuthenticationDialog.cpp index 9200b09bd..4211a4e4c 100644 --- a/fbreader/src/networkActions/AuthenticationDialog.cpp +++ b/fbreader/src/networkActions/AuthenticationDialog.cpp @@ -123,12 +123,6 @@ bool AuthenticationDialog::run(NetworkAuthenticationManager &mgr) { return false; } - if (mgr.UserNameOption.value().empty()) { - const ZLResource &resource = ZLResource::resource("dialog")["AuthenticationDialog"]; - errorMessage = resource["loginIsEmpty"].value(); - continue; - } - AuthoriseRunnable authoriser(mgr, password); authoriser.executeWithUI(); if (authoriser.hasErrors()) {