forked from TrueCloudLab/rclone
mailru: note that an app password is now needed - fixes #6398
This commit is contained in:
parent
133c006c37
commit
3a3bc5a1ae
2 changed files with 26 additions and 4 deletions
|
@ -90,8 +90,13 @@ func init() {
|
||||||
Help: "User name (usually email).",
|
Help: "User name (usually email).",
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
Name: "pass",
|
Name: "pass",
|
||||||
Help: "Password.",
|
Help: `Password.
|
||||||
|
|
||||||
|
This must be an app password - rclone will not work with your normal
|
||||||
|
password. See the Configuration section in the docs for how to make an
|
||||||
|
app password.
|
||||||
|
`,
|
||||||
Required: true,
|
Required: true,
|
||||||
IsPassword: true,
|
IsPassword: true,
|
||||||
}, {
|
}, {
|
||||||
|
|
|
@ -24,8 +24,21 @@ Currently it is recommended to disable 2FA on Mail.ru accounts intended for rclo
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Here is an example of making a mailru configuration. First create a Mail.ru Cloud
|
Here is an example of making a mailru configuration.
|
||||||
account and choose a tariff, then run
|
|
||||||
|
First create a Mail.ru Cloud account and choose a tariff.
|
||||||
|
|
||||||
|
You will need to log in and create an app password for rclone. Rclone
|
||||||
|
**will not work** with your normal username and password - it will
|
||||||
|
give an error like `oauth2: server response missing access_token`.
|
||||||
|
|
||||||
|
- Click on your user icon in the top right
|
||||||
|
- Go to Security / "Пароль и безопасность"
|
||||||
|
- Click password for apps / "Пароли для внешних приложений"
|
||||||
|
- Add the password - give it a name - eg "rclone"
|
||||||
|
- Copy the password and use this password below - your normal login password won't work.
|
||||||
|
|
||||||
|
Now run
|
||||||
|
|
||||||
rclone config
|
rclone config
|
||||||
|
|
||||||
|
@ -51,6 +64,10 @@ User name (usually email)
|
||||||
Enter a string value. Press Enter for the default ("").
|
Enter a string value. Press Enter for the default ("").
|
||||||
user> username@mail.ru
|
user> username@mail.ru
|
||||||
Password
|
Password
|
||||||
|
|
||||||
|
This must be an app password - rclone will not work with your normal
|
||||||
|
password. See the Configuration section in the docs for how to make an
|
||||||
|
app password.
|
||||||
y) Yes type in my own password
|
y) Yes type in my own password
|
||||||
g) Generate random password
|
g) Generate random password
|
||||||
y/g> y
|
y/g> y
|
||||||
|
|
Loading…
Add table
Reference in a new issue