Skip to content

Commit

Permalink
MongoGateway: fix for Issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
FoC- committed Jan 4, 2013
1 parent 22ce249 commit c651d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MongoMembership/Mongo/MongoGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public bool IsUserInRole(string applicationName, string username, string roleNam
.Any(user
=> user.ApplicationName == applicationName
&& user.UsernameLowercase == username.ToLowerInvariant()
&& (user.Roles.Contains(roleName.ToLowerInvariant())) || user.Roles.Contains(roleName));
&& (user.Roles.Contains(roleName.ToLowerInvariant()) || user.Roles.Contains(roleName)));
}

public bool IsRoleExists(string applicationName, string roleName)
Expand Down

0 comments on commit c651d39

Please sign in to comment.