mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-27 18:53:04 -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.