File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export async function GET(req: Request) {
5353 // eslint-disable-next-line no-console
5454 console . error ( "SignIn error:" , error ) ;
5555 return NextResponse . redirect (
56- new URL ( "/sign-in?error=AuthenticationFailed" , req . url ) ,
56+ new URL ( "/sign-in?error=AuthenticationFailed" , baseUrl ) ,
5757 ) ;
5858 }
5959 } catch ( error ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export async function GET(req: Request) {
5353 // eslint-disable-next-line no-console
5454 console . error ( "SignIn error:" , error ) ;
5555 return NextResponse . redirect (
56- new URL ( "/sign-in?error=AuthenticationFailed" , req . url ) ,
56+ new URL ( "/sign-in?error=AuthenticationFailed" , baseUrl ) ,
5757 ) ;
5858 }
5959 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments