Skip to content

Commit

Permalink
fix: guard check
Browse files Browse the repository at this point in the history
  • Loading branch information
breakingrobot authored and pi0 committed Jan 31, 2018
1 parent edaa75d commit cf013a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/auth.middleware.js
Expand Up @@ -7,7 +7,7 @@ middleware.auth = function ({ route, redirect, store }) {
const authRoute = '<%= options.redirect.loggedIn %>' const authRoute = '<%= options.redirect.loggedIn %>'


// Skip if route is not guarded // Skip if route is not guarded
if (!isRouteGuarded(route)) { if (isRouteGuarded(route)) {
return return
} }


Expand Down

0 comments on commit cf013a0

Please sign in to comment.