Skip to content

Commit

Permalink
Renamed method for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPickin authored Apr 28, 2017
1 parent 6390342 commit 121494a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Our.Umbraco.AuthU/Web/Controllers/OAuthController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public object Token(OAuthTokenRequest request)

ProcessClient(request);

SetOriginHeader();
SetAllowedOriginHeader();

switch (request.grant_type)
{
Expand Down Expand Up @@ -78,7 +78,7 @@ protected void ProcessClient(OAuthTokenRequest request)
}
}

protected void SetOriginHeader()
protected void SetAllowedOriginHeader()
{
string AccessControlAllowOriginHeaderKey = "Access-Control-Allow-Origin";
string allowedOrigin = Client != null ? Client.AllowedOrigin : Context.Options.AllowedOrigin;
Expand Down

0 comments on commit 121494a

Please sign in to comment.