Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix commented auth code in AppHost.cs.pp #522

Merged
merged 1 commit into from

2 participants

@yeurch

Constructor of AuthFeature has only two parameters, so the commented code in AppHost.cs.pp (both for the ASP.NET and MVC NuGet packages) will not build if uncommented as it has three parameters.

@mythz mythz merged commit 27edec3 into ServiceStack:master
@mythz
Owner

Cheers, thx Richard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 16, 2013
  1. @yeurch
This page is out of date. Refresh to see the latest.
View
2  NuGet/ServiceStack.Host.AspNet/content/App_Start/AppHost.cs.pp
@@ -54,7 +54,7 @@
var appSettings = new AppSettings();
//Default route: /auth/{provider}
- Plugins.Add(new AuthFeature(this, () => new CustomUserSession(),
+ Plugins.Add(new AuthFeature(() => new CustomUserSession(),
new IAuthProvider[] {
new CredentialsAuthProvider(appSettings),
new FacebookAuthProvider(appSettings),
View
2  NuGet/ServiceStack.Host.Mvc/content/App_Start/AppHost.cs.pp
@@ -70,7 +70,7 @@
var appSettings = new AppSettings();
//Default route: /auth/{provider}
- Plugins.Add(new AuthFeature(this, () => new CustomUserSession(),
+ Plugins.Add(new AuthFeature(() => new CustomUserSession(),
new IAuthProvider[] {
new CredentialsAuthProvider(appSettings),
new FacebookAuthProvider(appSettings),
Something went wrong with that request. Please try again.