Development

This commit is contained in:
Matthew Grotke 2026-06-03 00:10:52 -04:00
parent 91b11c618b
commit 4a9110cc4c
3 changed files with 12 additions and 142 deletions

View file

@ -282,7 +282,7 @@ def peers_edit():
flash('Invalid request.', 'error')
return redirect(f'/{_PAGE}')
peer_name = sanitize.name(request.form.get('name', ''))
peer_name = sanitize.name(request.form.get('peer_name', ''))
split_tunnel = request.form.get('split_tunnel') in ('true', '1', 'on', 'yes')
enabled = request.form.get('enabled') not in ('false', '0', '')