Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix commented auth code in AppHost.cs.pp

  • Loading branch information...
commit a907d42ac60a5a55bd2a232733d244440c344ca9 1 parent 77b5b3e
@yeurch yeurch authored
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),
Please sign in to comment.
Something went wrong with that request. Please try again.