Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Dec 3, 2024
1 parent a8b25bd commit a06253a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/(authentication)/login/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const actions: Actions = {

const next = url.searchParams.get('next') || '/';
const secureNext = getSecureRedirect(next);
const refreshQueryParam = (CI_TEST ? '' : '?refresh=1');
const refreshQueryParam = CI_TEST ? '' : '?refresh=1';
const redirectURL = secureNext ? `${secureNext}${refreshQueryParam}` : `/${refreshQueryParam}`;
redirect(302, redirectURL);
},
Expand Down

0 comments on commit a06253a

Please sign in to comment.