Ignore:
Timestamp:
Apr 13, 2019 7:02:35 PM (14 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
89b38f4f
Parents:
64c7625
Message:

i2ptunnel: Fix saving encrypted LS config
Disable registration authentication when encrypted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/register.jsp

    r64c7625 r0dbc809  
    7979                <input type="submit" class="default" name="action" value="Save changes" />
    8080<%
    81     if (!"new".equals(tunnelType)) {
     81    String curEncryptMode = editBean.getEncryptMode(curTunnel);
     82    if (!"0".equals(curEncryptMode)) {
     83%>
     84      <table><tr><td class="infohelp">
     85        <%=intl._t("This service uses encrypted leasesets. Registration is not recommended. Registration authentication is disabled.")%>
     86      </td></tr>
     87<%
     88    } else if (!"new".equals(tunnelType)) {
    8289%>
    8390
Note: See TracChangeset for help on using the changeset viewer.