mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 01:48:50 +08:00
serve ftp: Add error message if auth proxy fails #4394
This commit is contained in:
parent
0031130111
commit
92cb21f0f2
|
@ -261,7 +261,9 @@ func (s *server) CheckPasswd(user, pass string) (ok bool, err error) {
|
|||
delete(s.pending, id)
|
||||
s.pendingMu.Unlock()
|
||||
if d == nil {
|
||||
return false, errors.Errorf("proxy login failed: failed to find pending Driver under ID %q", id)
|
||||
err := errors.Errorf("proxy login failed: failed to find pending Driver under ID %q", id)
|
||||
fs.Errorf(nil, "Error %v", err)
|
||||
return false, err
|
||||
}
|
||||
d.vfs = VFS
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user