Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Schwartz committed Oct 29, 2024
1 parent 05e6f5d commit 9c92898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/firebaseAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ onAuthStateChanged(auth, async (user) => {
const token = await user.getIdToken();

// Set the auth token cookie
document.cookie = `authToken=${token}; max-age=3600; path=/; domain=.languapps.com; secure; samesite=none`;
document.cookie = `jwtToken=${data.jwtToken}; max-age=3600; path=/; domain=.languapps.com; secure; samesite=none`;

// Redirect to subdomain if already on it
if (window.location.hostname === 'labase.languapps.com') {
Expand Down

0 comments on commit 9c92898

Please sign in to comment.