Update ssh.go to work with updated password auth.

This commit is contained in:
Mikkel Krautz 2012-03-10 13:54:19 +01:00
parent 5dc6971031
commit bb74f0485b

2
ssh.go
View file

@ -15,7 +15,7 @@ import (
"strings"
)
func passwordAuth(username, password string) bool {
func passwordAuth(conn *ssh.ServerConn, username, password string) bool {
if username == "admin" && password == "admin" {
return true
}