diff --git a/src/http.c b/src/http.c index e32ecf93eeaa18d1cd1473501385398d9eb04aa4..e8f70e596cb4f1f0a8835229b570b0b424c64d3b 100644 --- a/src/http.c +++ b/src/http.c @@ -605,8 +605,7 @@ int auth_log_in(struct tunnel *tunnel) tunnel->cookie[0] = '\0'; - if (tunnel->config->use_engine > 0 - || (username[0] == '\0' && tunnel->config->password[0] == '\0')) { + if (username[0] == '\0' && tunnel->config->password[0] == '\0') { snprintf(data, sizeof(data), "cert=&nup=1"); ret = http_request(tunnel, "GET", "/remote/login", data, &res, &response_size);