mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
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…
x
Reference in New Issue
Block a user