mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-07 14:44:29 -04:00
This is extracted from PR #9175. This deduplicates `SetPassword` calls and makes `postAdjustGui` a single place where PR #9175 can add another adjustment step for sanitizing changes to WebAuthn credentials. This also adds tests to validate that the refactored logic was not broken.