mirror of
https://github.com/rclone/rclone.git
synced 2025-08-23 03:20:50 +02:00
rc: fix unmarshalable http.AuthFn in options and put in test for marshalability
This commit is contained in:
@@ -97,7 +97,7 @@ type Options struct {
|
||||
Realm string // realm for authentication
|
||||
BasicUser string // single username for basic auth if not using Htpasswd
|
||||
BasicPass string // password for BasicUser
|
||||
Auth AuthFn // custom Auth (not set by command line flags)
|
||||
Auth AuthFn `json:"-"` // custom Auth (not set by command line flags)
|
||||
}
|
||||
|
||||
// AuthFn if used will be used to authenticate user, pass. If an error
|
||||
|
Reference in New Issue
Block a user