mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-06-19 05:55:04 +08:00
fix: token login error under special cases
This commit is contained in:
parent
60d5f4d386
commit
5cafaea082
2
main.go
2
main.go
@ -223,7 +223,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
copy(PasswordHash[:], ph)
|
copy(PasswordHash[:], ph)
|
||||||
}
|
}
|
||||||
} else {
|
} else if len(conf.Account.Password) > 0 {
|
||||||
PasswordHash = md5.Sum([]byte(conf.Account.Password))
|
PasswordHash = md5.Sum([]byte(conf.Account.Password))
|
||||||
}
|
}
|
||||||
if !isFastStart {
|
if !isFastStart {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user