updating auth token security

This commit is contained in:
Michael Freno
2026-01-06 23:11:19 -05:00
parent 4dd3a44711
commit 08a9ad35af
10 changed files with 1373 additions and 140 deletions

View File

@@ -7,6 +7,7 @@ import {
query
} from "@solidjs/router";
import { PageHead } from "~/components/PageHead";
import { revalidateUserState } from "~/components/Bars";
import { getEvent } from "vinxi/http";
import GoogleLogo from "~/components/icons/GoogleLogo";
import GitHub from "~/components/icons/GitHub";
@@ -205,6 +206,7 @@ export default function LoginPage() {
if (response.ok && result.result?.data?.success) {
setShowPasswordSuccess(true);
revalidateUserState(); // Refresh user state in sidebar
setTimeout(() => {
navigate("/account", { replace: true });
}, 500);