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 bcb9afa commit 59a4589Copy full SHA for 59a4589
app/pods/application/route.js
@@ -30,10 +30,11 @@ export default Route.extend(UTMCookieRouteMixin, {
30
31
if(!this.session.isAuthenticated) {
32
const app_flow = localStorage.getItem('app_flow')
33
+ localStorage.removeItem('app_flow')
34
if(app_flow !== 'logout') {
35
localStorage.setItem('loginPrompt', true)
36
}
-
37
+
38
localStorage.setItem('redirectionPath', window.location.pathname)
39
window.location.href = config.nuxtPublicUrl
40
0 commit comments