Browse Source

Fix missing read_only parameter on server add via web interface

pull/52/head
Lombra 4 years ago
parent
commit
4cd7333f2f
  1. 2
      wg_dashboard_frontend/src/app/page/dashboard/add-server/add-server.component.ts

2
wg_dashboard_frontend/src/app/page/dashboard/add-server/add-server.component.ts

@ -66,7 +66,7 @@ export class AddServerComponent implements OnInit {
public_key: new FormControl('' ),
post_up: new FormControl(''),
post_down: new FormControl(''),
read_only: new FormControl(''),
read_only: new FormControl(0),
// Unused on backend
configuration: new FormControl(''),

Loading…
Cancel
Save