Skip to content

Commit 4004070

Browse files
committed
refactor(passport): use 303 See Other for the redirect
1 parent 333ad31 commit 4004070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export class Strategy implements passport.Strategy {
451451
)
452452
}
453453

454-
return this.redirect(redirectTo.href)
454+
return this.redirect(redirectTo.href, 303)
455455
} catch (err) {
456456
return this.error(err)
457457
}

0 commit comments

Comments
 (0)