Permalink
Browse files

Fix commented auth code in AppHost.cs.pp

  • Loading branch information...
1 parent 77b5b3e commit a907d42ac60a5a55bd2a232733d244440c344ca9 @yeurch yeurch committed Mar 16, 2013
@@ -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),
@@ -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),

0 comments on commit a907d42

Please sign in to comment.