1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps-admin.git synced 2025-03-09 15:40:05 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-15 20:37:05 +01:00
parent f408dfb7e7
commit db77dc0508

View file

@ -1287,7 +1287,10 @@ async def config(userid: Optional[int] = Query(None), serial: Optional[str] = Qu
mlvpn_timeout = mlvpn_config.get('general', 'timeout')
mlvpn_reorder_buffer_size = mlvpn_config.get('general', 'reorder_buffer_size')
mlvpn_loss_tolerence = mlvpn_config.get('general', 'loss_tolerence')
if mlvpn_config.has_option('general', 'cleartext_data'):
mlvpn_cleartext_data = mlvpn_config.get('general', 'cleartext_data')
else:
mlvpn_cleartext_data = ''
available_vpn.append("mlvpn")
else:
mlvpn_key = ''