Permalink
Browse files

fix: guard check

  • Loading branch information...
breakingrobot authored and pi0 committed Jan 31, 2018
1 parent edaa75d commit cf013a080d3a5ec26335c89b835fd6c6ffd2cf55
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/templates/auth.middleware.js
@@ -7,7 +7,7 @@ middleware.auth = function ({ route, redirect, store }) {
const authRoute = '<%= options.redirect.loggedIn %>'
// Skip if route is not guarded
if (!isRouteGuarded(route)) {
if (isRouteGuarded(route)) {
return
}

0 comments on commit cf013a0

Please sign in to comment.