Browse Source

Do not show 'Address registration' line if leaseset is encrypted

webconsole-inja
TomasGl 3 years ago committed by R4SAS
parent
commit
0176e5cf18
  1. 2
      daemon/HTTPServer.cpp

2
daemon/HTTPServer.cpp

@ -419,7 +419,7 @@ namespace http { @@ -419,7 +419,7 @@ namespace http {
s << "</div>\r\n</div>\r\n";
}
if (dest->IsPublic() && token)
if (dest->IsPublic() && token && !dest->IsEncryptedLeaseSet ())
{
std::string webroot; i2p::config::GetOption("http.webroot", webroot);
auto base32 = dest->GetIdentHash ().ToBase32 ();

Loading…
Cancel
Save