mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
parent
4222a985f9
commit
08fe607012
@ -625,7 +625,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…
x
Reference in New Issue
Block a user