mirror of https://github.com/1Panel-dev/1Panel
parent
fb19437f5f
commit
a86ec12b86
|
@ -626,7 +626,7 @@ func loadFailedSecureDatas(line string) dto.SSHHistory {
|
|||
return data
|
||||
}
|
||||
index := 0
|
||||
if strings.Contains("line", " invalid user") {
|
||||
if strings.Contains(line, " invalid user") {
|
||||
index = 2
|
||||
}
|
||||
data = dto.SSHHistory{
|
||||
|
|
Loading…
Reference in New Issue