1
0
forked from baron/baron-sso

front류 개발모드에서는 세션 갱신 끄기

This commit is contained in:
2026-05-20 11:48:31 +09:00
parent 0031784c07
commit 0155ee4ee7
17 changed files with 287 additions and 23 deletions

View File

@@ -84,8 +84,11 @@ function LoginPage() {
variant="ghost"
className="p-0 h-auto text-destructive underline mt-2 hover:bg-transparent"
onClick={() => {
window.location.href =
window.location.origin + window.location.pathname;
void auth.signinRedirect({
state: {
returnTo,
},
});
}}
>

View File

@@ -194,7 +194,14 @@ export function UserGroupDetailPage() {
"Not found"}
</p>
</div>
<Button variant="outline" onClick={() => window.location.reload()}>
<Button
variant="outline"
onClick={() => {
void queryClient.invalidateQueries({
queryKey: ["user-group-detail", id],
});
}}
>
{t("ui.common.retry", "다시 시도")}
</Button>
<div className="pt-4 border-t">