Commit eb5c2b7
committed
[fix] Add missing full_clean() to VPN server auto-cert creation
AbstractVpn._auto_create_cert() was saving the server certificate
without calling full_clean(), bypassing Django model validation
(PEM format, extension structure, field constraints). The client-side
equivalent in AbstractVpnClient._auto_create_cert() correctly calls
full_clean() before save(). This aligns the server-side path with the
client-side pattern.1 parent d60ec13 commit eb5c2b7
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| 434 | + | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
| |||
0 commit comments