Skip to content

Commit

Permalink
UrlRequestFlags.AllowCachedCredentials rename to AllowStoredCredentials
Browse files Browse the repository at this point in the history
Resolves #2755

This is a breaking change
  • Loading branch information
amaitland committed May 3, 2019
1 parent feb1bce commit 049f576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CefSharp/Enums/UrlRequestFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public enum UrlRequestFlags : int
/// If set user name, password, and cookies may be sent with the request, and
/// cookies may be saved from the response.
/// </summary>
AllowCachedCredentials = 1 << 3,
AllowStoredCredentials = 1 << 3,

/// <summary>
/// If set upload progress events will be generated when a request has a body.
Expand Down
4 changes: 2 additions & 2 deletions CefSharp/WebBrowserExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ public static void LoadUrlWithPostData(this IWebBrowser browser, string url, byt

request.Url = url;
request.Method = "POST";
//Add AllowCachedCredentials as per suggestion linked in
//Add AllowStoredCredentials as per suggestion linked in
//https://github.com/cefsharp/CefSharp/issues/2705#issuecomment-476819788
request.Flags = UrlRequestFlags.AllowCachedCredentials;
request.Flags = UrlRequestFlags.AllowStoredCredentials;

request.PostData.AddData(postDataBytes);

Expand Down

0 comments on commit 049f576

Please sign in to comment.