mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
795ec9af05
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.
8 lines
265 B
Go
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")
|