1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-06-19 14:05:03 +08:00

fix: token login error under special cases

This commit is contained in:
Mrs4s 2021-09-22 17:01:16 +08:00
parent 60d5f4d386
commit 5cafaea082
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -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 {