mirror of
https://github.com/rclone/rclone.git
synced 2024-11-21 16:03:29 +01:00
protondrive: don't auth with an empty access token
This commit is contained in:
parent
c13118246c
commit
4250dd98f3
@ -285,6 +285,9 @@ func getConfigMap(m configmap.Mapper) (uid, accessToken, refreshToken, saltedKey
|
||||
}
|
||||
_saltedKeyPass = saltedKeyPass
|
||||
|
||||
// empty strings are considered "ok" by m.Get, which is not true business-wise
|
||||
ok = accessToken != "" && uid != "" && refreshToken != "" && saltedKeyPass != ""
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user