fix(storages): SFTP auth method radio button now correctly switches to Private Key #317

Closed
opened 2026-04-05 16:16:11 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @m4tt72 on 12/29/2025

Problem

When editing an SFTP storage, clicking the "Private Key" radio button did not visually select it. The selection appeared to stay on "Password" even after clicking.

Root Cause

The authMethod value was derived from whether privateKey had a truthy value

Solution

Changed from a derived value to explicit React state to track the selected auth method

*Originally created by @m4tt72 on 12/29/2025* ## Problem When editing an SFTP storage, clicking the "Private Key" radio button did not visually select it. The selection appeared to stay on "Password" even after clicking. ## Root Cause The `authMethod` value was derived from whether `privateKey` had a truthy value ## Solution Changed from a derived value to explicit React state to track the selected auth method
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#317