Skip to content

Commit 70ff6aa

Browse files
committed
fix(jobs): Show /accept/GRS on Jobs registration
1 parent 091cbc5 commit 70ff6aa

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/server/routes/oauth.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,7 @@ const authenticationHandler = async (
455455
// redirect for jobs to show the jobs t&c page
456456
// but not if confirmationPage is set (so that we can still show onboarding flow first)
457457
// before redirecting to the jobs t&c page
458-
if (
459-
authState.queryParams.clientId === 'jobs' &&
460-
!authState.confirmationPage
461-
) {
458+
if (authState.queryParams.clientId === 'jobs') {
462459
return res.redirect(
463460
addQueryParamsToPath('/agree/GRS', authState.queryParams),
464461
);

0 commit comments

Comments
 (0)