diff --git a/client/gui_rpc_server_ops.cpp b/client/gui_rpc_server_ops.cpp
index 8d77cae3b1..f20aee2dc8 100644
--- a/client/gui_rpc_server_ops.cpp
+++ b/client/gui_rpc_server_ops.cpp
@@ -779,7 +779,7 @@ void handle_lookup_account(GUI_RPC_CONN& grc) {
MIOFILE in;
ai.parse(grc.xp);
- if (!ai.url.size() || !ai.email_addr.size() || !ai.passwd_hash.size()) {
+ if ((!ai.url.size() || !ai.email_addr.size() || !ai.passwd_hash.size()) && !ai.server_assigned_hash) {
grc.mfout.printf("missing URL, email address, or password\n");
return;
}
diff --git a/lib/gui_rpc_client_ops.cpp b/lib/gui_rpc_client_ops.cpp
index eebed41e81..f9941bc740 100644
--- a/lib/gui_rpc_client_ops.cpp
+++ b/lib/gui_rpc_client_ops.cpp
@@ -2279,11 +2279,15 @@ int RPC_CLIENT::lookup_account(ACCOUNT_IN& ai) {
" %s\n"
" %s\n"
" %d\n"
+ " %d\n"
+ " %s\n"
"\n",
ai.url.c_str(),
ai.email_addr.c_str(),
passwd_hash.c_str(),
- ai.ldap_auth?1:0
+ ai.ldap_auth?1:0,
+ ai.server_assigned_hash?1:0,
+ ai.server_hash.c_str()
);
buf[sizeof(buf)-1] = 0;