Commit 25b4d65
committed
security/netbird: fix selectpicker and unbreak migration
The auth key may be required but not giving a default for obvious
reasons just makes it end up without a required value anyway until
user contact.
This can probably be made more robust in the future, but requires
a bit of thought on what we validate/enforce here anyway like an
"enbable" checkbox being checked requires filling this value, but
it's also not on the same page or model even making constraints
tricky.1 parent 59762b0 commit 25b4d65
File tree
2 files changed
+3
-4
lines changed- security/netbird/src/opnsense/mvc/app
- models/OPNsense/Netbird
- views/OPNsense/Netbird
2 files changed
+3
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
0 commit comments