Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
Fix email confirmation link
Dave Earley4d2140258f8a
diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.tsindex b659dd97e..1adab78a6 100644--- a/frontend/src/api/client.ts+++ b/frontend/src/api/client.ts@@ -26,6 +26,11 @@ export const api = axios.create({withCredentials: true,});+const existingToken = typeof window !== "undefined" ? window.localStorage.getItem('token') : undefined;+if (existingToken) {+ setAuthToken(existingToken);+}+api.interceptors.response.use((response) => {// Securely update the token on each response