forked from External/grumble
Update ssh.go to work with updated password auth.
This commit is contained in:
parent
5dc6971031
commit
bb74f0485b
1 changed files with 1 additions and 1 deletions
2
ssh.go
2
ssh.go
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue