Changeset 4d29bfe
- Timestamp:
- May 30, 2019 11:39:42 AM (20 months ago)
- Branches:
- master
- Children:
- 652c3d5
- Parents:
- 16ac93c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/ui/TunnelConfig.java
r16ac93c r4d29bfe 943 943 _addClientAuth = true; 944 944 if (_newClientName == null || _newClientName.length() == 0) 945 _newClientName = Base64.encode(DataHelper.getUTF8(GeneralHelper._t("Client", _context) + " 1"));945 _newClientName = GeneralHelper._t("Client", _context) + " 1"; 946 946 } 947 947 } … … 962 962 name = Base64.encode(DataHelper.getUTF8(GeneralHelper._t("Client", _context) + ' ' + (i + 1))); 963 963 clientAuth.add(name + ':' + key); 964 } 965 if (clientAuth.isEmpty() && !_addClientAuth) { 966 // if we revoked all of them, add a new one 967 _addClientAuth = true; 968 _newClientName = GeneralHelper._t("Client", _context) + " 1"; 964 969 } 965 970 }
Note: See TracChangeset
for help on using the changeset viewer.