diff --git a/RavenDB.Identity/RavenDB.Identity.csproj b/RavenDB.Identity/RavenDB.Identity.csproj
index 818be6e..cfe01b9 100644
--- a/RavenDB.Identity/RavenDB.Identity.csproj
+++ b/RavenDB.Identity/RavenDB.Identity.csproj
@@ -19,9 +19,10 @@
false
false
false
- 4.3.0
+ 4.4.0
False
Raven.Identity
+ Implemented IQueryable<TUser>, making it work with 2FA.
diff --git a/RavenDB.Identity/UserStore.cs b/RavenDB.Identity/UserStore.cs
index ead0009..febb6ca 100644
--- a/RavenDB.Identity/UserStore.cs
+++ b/RavenDB.Identity/UserStore.cs
@@ -27,7 +27,8 @@ namespace Raven.Identity
IUserPhoneNumberStore,
IUserAuthenticatorKeyStore,
IUserAuthenticationTokenStore,
- IUserTwoFactorRecoveryCodeStore
+ IUserTwoFactorRecoveryCodeStore,
+ IQueryableUserStore
where TUser : IdentityUser
{
private bool _disposed;
@@ -722,6 +723,15 @@ namespace Raven.Identity
#endregion
+ #region IQueryableUserStore
+
+ ///
+ /// Gets the users as an IQueryable.
+ ///
+ public IQueryable Users => this.DbSession.Query();
+
+ #endregion
+
private IAsyncDocumentSession DbSession
{
get