From eac33d222598b78404cc613ed179dfadbf04c5c3 Mon Sep 17 00:00:00 2001 From: Tony BRIET Date: Thu, 25 Jan 2018 13:32:44 +0100 Subject: [PATCH] fix: typo in lodash template --- lib/templates/auth.middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/auth.middleware.js b/lib/templates/auth.middleware.js index 268d3ab8e..d1900b800 100644 --- a/lib/templates/auth.middleware.js +++ b/lib/templates/auth.middleware.js @@ -24,7 +24,7 @@ middleware.auth = function(context) { return r(guestRoute) } - if (<% options.redirect.user %> && s.getters['auth/loggedIn'] && authRoute !== p) { + if (<%= options.redirect.user %> && s.getters['auth/loggedIn'] && authRoute !== p) { return r(authRoute) } }