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.
7 lines
265 B
Go
7 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")
|