Skip to content

Commit 039773f

Browse files
UcnacDx2John Doe
authored andcommitted
fix(drivers/139): correct mail cookie help domain
1 parent e800405 commit 039773f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/139/meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type Addition struct {
1010
Authorization string `json:"authorization" type:"text" help:"Authorization can be used alone. If empty, use mail_cookies alone for fast login, or mail_cookies + username + password for full login fallback."`
1111
Username string `json:"username" help:"Required only when using password login fallback with mail_cookies."`
1212
Password string `json:"password" secret:"true" help:"Required only when using password login fallback with mail_cookies."`
13-
MailCookies string `json:"mail_cookies" type:"text" help:"Cookies from mail.139.com. Can be used alone for fast login, or with username and password for full login fallback."`
13+
MailCookies string `json:"mail_cookies" type:"text" help:"Cookies from mail.10086.cn. Can be used alone for fast login, or with username and password for full login fallback."`
1414
driver.RootID
1515
Type string `json:"type" type:"select" options:"personal_new,family,group,personal" default:"personal_new"`
1616
CloudID string `json:"cloud_id"`

drivers/139/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"context"
66
"crypto/aes"
77
"crypto/cipher"
8+
"crypto/md5"
89
crypto_rand "crypto/rand"
910
"crypto/sha1"
1011
"encoding/base64"

0 commit comments

Comments
 (0)