We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41998de commit 12983bfCopy full SHA for 12983bf
app/pods/application/route.js
@@ -27,8 +27,10 @@ export default Route.extend(UTMCookieRouteMixin, {
27
28
async beforeModel (transition) {
29
this._super(...arguments)
30
-
+
31
if(!this.session.isAuthenticated) {
32
+ localStorage.setItem('redirectionPath', window.location.pathname)
33
+ localStorage.setItem('loginPrompt', true)
34
window.location.href = config.nuxtPublicUrl
35
}
36
0 commit comments