mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-07 17:10:07 +08:00
parent
4222a985f9
commit
08fe607012
@ -625,7 +625,7 @@ func loadFailedSecureDatas(line string) dto.SSHHistory {
|
|||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
index := 0
|
index := 0
|
||||||
if strings.Contains("line", " invalid user") {
|
if strings.Contains(line, " invalid user") {
|
||||||
index = 2
|
index = 2
|
||||||
}
|
}
|
||||||
data = dto.SSHHistory{
|
data = dto.SSHHistory{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user