Skip to content

Commit

Permalink
Disable the caching
Browse files Browse the repository at this point in the history
  • Loading branch information
thabart committed May 13, 2016
1 parent 71130c7 commit e363056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -21,8 +21,6 @@
using SimpleIdentityServer.Host;
using SimpleIdentityServer.Host.DTOs.Request;
using SimpleIdentityServer.Host.Extensions;
using SimpleIdentityServer.RateLimitation;
using SimpleIdentityServer.RateLimitation.Attributes;
using System.Linq;
using System.Net.Http.Headers;

Expand All @@ -39,7 +37,7 @@ public class TokenController : Controller
_tokenActions = tokenActions;
}

[SimpleTypeFilterAttribute(typeof(RateLimitationFilterAttribute), Arguments = new object[] { "PostToken" })]
// [SimpleTypeFilterAttribute(typeof(RateLimitationFilterAttribute), Arguments = new object[] { "PostToken" })]
[HttpPost]
public GrantedToken Post([FromForm] TokenRequest tokenRequest)
{
Expand Down
Expand Up @@ -80,7 +80,7 @@ public void ConfigureServices(IServiceCollection services)
};
opt.MemoryCache = new MemoryCache(new MemoryCacheOptions());
});

var dataSourceType = DataSourceTypes.InMemory;
if (isSqlServer)
{
Expand Down

0 comments on commit e363056

Please sign in to comment.