From d71082f188816da4f00b0ed2a5f890e2830f08be Mon Sep 17 00:00:00 2001 From: Alan Mizrahi Date: Thu, 22 Mar 2018 17:08:23 +0900 Subject: [PATCH] Allow empty user in authentication dialog --- fbreader/src/networkActions/AuthenticationDialog.cpp | 6 ------ 1 file changed, 6 deletions(-) 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()) {