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

webconsole-inja
TomasGl 2 years ago committed by R4SAS
parent 4670b12d49
commit 0176e5cf18

@ -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