Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs to be easier to swap out the MembershipRepository #17

Open
jeremydmiller opened this issue Mar 15, 2013 · 0 comments
Open

Needs to be easier to swap out the MembershipRepository #17

jeremydmiller opened this issue Mar 15, 2013 · 0 comments

Comments

@jeremydmiller
Copy link
Contributor

See this garbage from Portal:

            //TODO: since FubuMVC.Authentication hard codes the membership node to use MembershipRepository
            //there is no way to extend it, had to do it this way instead
            settings.Strategies.AddToEnd(new MembershipNode(typeof(OurMembershipRepository)));
            settings.Strategies.OfType<MembershipNode>()
                    .Where(x => x.MembershipType == typeof(MembershipAuthentication))
                    .ToArray()
                    .Each(x => x.Remove());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant