Skip to content

Commit

Permalink
Use our custom AuthMiddleware for remember me
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Feb 13, 2017
1 parent 8df310d commit 9289e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SteamPress/SteamPress.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct SteamPress {
drop.preparations.append(Pivot<BlogPost, BlogTag>.self)

// Middleware
let authMiddleware = AuthMiddleware<BlogUser>()
let authMiddleware = BlogAuthMiddleware()
drop.middleware.append(authMiddleware)

// Providers
Expand Down

0 comments on commit 9289e62

Please sign in to comment.