diff --git a/src/request-base.js b/src/request-base.js index 6547f43bf..e8c348db0 100644 --- a/src/request-base.js +++ b/src/request-base.js @@ -543,7 +543,8 @@ RequestBase.prototype._auth = function (user, pass, options, base64Encoder) { * using "Access-Control-Allow-Origin" with a wildcard, * and also must set "Access-Control-Allow-Credentials" * to "true". - * + * @param {Boolean} [on=true] - Set 'withCredentials' state + * @return {Request} for chaining * @api public */