Files
picoclaw/web/backend/dashboardauth/platform.go
T
wenjie 795ec9af05 fix(launcher): fall back to token auth on unsupported platforms (#2466)
Handle platforms where the dashboard password store is unavailable
by treating legacy token auth as initialized, rejecting password
setup, and adding platform-specific store stubs and tests.
2026-04-10 11:12:54 +08:00

8 lines
265 B
Go

package dashboardauth
import "errors"
// ErrUnsupportedPlatform reports that the SQLite-backed password store is not
// available for the current target platform.
var ErrUnsupportedPlatform = errors.New("dashboard password store is unavailable on this platform")