File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export async function signInWithRedirect(
4444 assertTokenProviderConfig ( authConfig ) ;
4545 assertOAuthConfig ( authConfig ) ;
4646 store . setAuthConfig ( authConfig ) ;
47- if ( input ?. options ?. assertUserNotAuthenticated !== false ) {
47+ if ( input ?. options ?. skipAssertUserNotAuthenticated !== true ) {
4848 await assertUserNotAuthenticated ( ) ;
4949 }
5050
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ export type AuthSignInWithRedirectInput = {
6666 */
6767 preferPrivateSession ?: boolean ;
6868 /**
69- * Setting this to false will allow you to sign in even when a user is authenticated.
69+ * Setting this to true will allow you to sign in even when a user is authenticated.
7070 */
71- assertUserNotAuthenticated ?: boolean ;
71+ skipAssertUserNotAuthenticated ?: boolean ;
7272 } ;
7373} ;
7474
You can’t perform that action at this time.
0 commit comments