diff --git a/src/Microsoft.AspNet.Identity.Authentication/HttpAuthenticationManager.cs b/src/Microsoft.AspNet.Identity.Authentication/HttpAuthenticationManager.cs index 2da277bc0b..0778c89f7e 100644 --- a/src/Microsoft.AspNet.Identity.Authentication/HttpAuthenticationManager.cs +++ b/src/Microsoft.AspNet.Identity.Authentication/HttpAuthenticationManager.cs @@ -29,17 +29,9 @@ namespace Microsoft.AspNet.Identity.Authentication public async Task IsClientRememeberedAsync(string userId) { - try - { - var result = - await Context.AuthenticateAsync(TwoFactorRememberedAuthenticationType); - return (result != null && result.Identity != null && result.Identity.Name == userId); - } - // REVIEW: Why does Owin throw this for authenticate? - catch (InvalidOperationException) - { - return false; - } + var result = + await Context.AuthenticateAsync(TwoFactorRememberedAuthenticationType); + return (result != null && result.Identity != null && result.Identity.Name == userId); } public void RememberClient(string userId)