mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
vendor: update github.com/t3rm1n4l/go-mega to fix failed logins - fixes #2443
This commit is contained in:
parent
6dc5aa7454
commit
6c5ccf26b1
2
Gopkg.lock
generated
2
Gopkg.lock
generated
@ -305,7 +305,7 @@
|
||||
branch = "master"
|
||||
name = "github.com/t3rm1n4l/go-mega"
|
||||
packages = ["."]
|
||||
revision = "57978a63bd3f91fa7e188b751a7e7e6dd4e33813"
|
||||
revision = "854bf31d998b151cf5f94529c815bc4c67322949"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
2
vendor/github.com/t3rm1n4l/go-mega/mega.go
generated
vendored
2
vendor/github.com/t3rm1n4l/go-mega/mega.go
generated
vendored
@ -464,6 +464,8 @@ func (m *Mega) Login(email string, passwd string) error {
|
||||
var err error
|
||||
var result []byte
|
||||
|
||||
email = strings.ToLower(email) // mega uses lowercased emails for login purposes
|
||||
|
||||
passkey := password_key(passwd)
|
||||
uhandle := stringhash(email, passkey)
|
||||
m.uh = make([]byte, len(uhandle))
|
||||
|
Loading…
Reference in New Issue
Block a user