mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
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"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
func passwordAuth(username, password string) bool {
|
func passwordAuth(conn *ssh.ServerConn, username, password string) bool {
|
||||||
if username == "admin" && password == "admin" {
|
if username == "admin" && password == "admin" {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue