1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-27 20:04:00 +01:00
juanfont.headscale/hscontrol/state
Kristoffer Dalby ddd31ba774 hscontrol: use Updates() instead of Save() for partial updates
Changed UpdateUser and re-registration flows to use Updates() which only
writes modified fields, preventing unintended overwrites of unchanged fields.

Also updated UsePreAuthKey to use Model().Update() for single field updates
and removed unused NodeSave wrapper.
2025-11-11 12:47:48 -06:00
..
debug_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
debug.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
ephemeral_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
maprequest_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
maprequest.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
node_store_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
node_store.go policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
state.go hscontrol: use Updates() instead of Save() for partial updates 2025-11-11 12:47:48 -06:00