Skip to content

Commit

Permalink
[5.x] Update CSRF token when session expiry login modal is closed (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Sep 12, 2024
1 parent 975470a commit 6e5d6a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/js/components/SessionExpiry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ export default {
}
this.lastCount = Vue.moment();
},
isShowingLogin(showing, wasShowing) {
if (showing && !wasShowing) this.updateCsrfToken();
}
},
Expand Down

0 comments on commit 6e5d6a2

Please sign in to comment.