We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69fbe4 commit 2028869Copy full SHA for 2028869
.changeset/tiny-planes-lead.md
@@ -2,7 +2,6 @@
2
'@clerk/backend': minor
3
'@clerk/nextjs': minor
4
'@clerk/astro': minor
5
-'@clerk/types': minor
6
---
7
8
Redirect to tasks on `auth.protect` and `auth.redirectToSignIn`
packages/nextjs/src/server/protect.ts
@@ -91,7 +91,7 @@ export function createProtect(opts: {
91
};
92
93
/**
94
- * User has with pending session status, indicating tasks to resolve
+ * Redirects the user back to the tasks URL if their session status is pending
95
*/
96
if (authObject.sessionStatus === 'pending') {
97
return handleUnauthenticated();
0 commit comments