Improved error message if the authentication is not yet completed.

This commit is contained in:
luckydonald 2021-01-18 00:14:56 +01:00
parent 011b573a8e
commit a6463a9010

View File

@ -6575,7 +6575,7 @@ void Client::on_cmd(PromisedQueryPtr query) {
} else if (query->method() == "registeruser" && parameters_->allow_users_registration_) {
return process_register_user_query(query);
} else {
return fail_query(404, "Not Found: method not found", std::move(query));
return fail_query(404, "Not Found: login not yet completed", std::move(query));
}
}