mirror of
https://github.com/fosrl/newt.git
synced 2026-10-05 12:19:07 +02:00
12 lines
341 B
Go
12 lines
341 B
Go
//go:build !linux
|
|
|
|
package nativessh
|
|
|
|
import "errors"
|
|
|
|
// VerifySystemPassword is not supported on non-Linux platforms; it always
|
|
// returns an error so that password authentication is never accepted.
|
|
func VerifySystemPassword(username, password string) error {
|
|
return errors.New("password authentication not supported on this platform")
|
|
}
|