mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
Do not show 'Address registration' line if leaseset is encrypted
This commit is contained in:
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…
Reference in a new issue