Skip to content

Commit ba52e94

Browse files
committed
minor fix on example
1 parent b22fca0 commit ba52e94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ var router = new VueRouter({
9393
var this_ = this;
9494
this.$auth.logout().then(function () {
9595
if (!this_.$auth.isAuthenticated()) {
96-
this_.isAuthenticated = this_.$auth.isAuthenticated();
9796
this_.response = null
9897
}
98+
99+
this_.isAuthenticated = this_.$auth.isAuthenticated();
99100
})
100101
},
101102

0 commit comments

Comments
 (0)