Skip to content

Commit 2028869

Browse files
committed
Fix changeset
1 parent d69fbe4 commit 2028869

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.changeset/tiny-planes-lead.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
'@clerk/backend': minor
33
'@clerk/nextjs': minor
44
'@clerk/astro': minor
5-
'@clerk/types': minor
65
---
76

87
Redirect to tasks on `auth.protect` and `auth.redirectToSignIn`

packages/nextjs/src/server/protect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function createProtect(opts: {
9191
};
9292

9393
/**
94-
* User has with pending session status, indicating tasks to resolve
94+
* Redirects the user back to the tasks URL if their session status is pending
9595
*/
9696
if (authObject.sessionStatus === 'pending') {
9797
return handleUnauthenticated();

0 commit comments

Comments
 (0)