File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -469,9 +469,10 @@ export class LoginProvider {
469469 if ( ! Util . IsNullEmpty ( originalUrl ) ) {
470470 try {
471471 res . cookie ( "originalUrl" , "" , { expires : new Date ( 0 ) } ) ;
472+ LoginProvider . redirect ( res , originalUrl ) ;
472473 } catch ( error ) {
474+ console . error ( error ) ;
473475 }
474- LoginProvider . redirect ( res , originalUrl ) ;
475476 } else {
476477 res . redirect ( "/" ) ;
477478 }
@@ -485,9 +486,10 @@ export class LoginProvider {
485486 }
486487 try {
487488 res . cookie ( "originalUrl" , "" , { expires : new Date ( 0 ) } ) ;
489+ LoginProvider . redirect ( res , originalUrl ) ;
488490 } catch ( error ) {
491+ console . error ( error ) ;
489492 }
490- LoginProvider . redirect ( res , originalUrl ) ;
491493 } else {
492494 res . redirect ( "/" ) ;
493495 }
Original file line number Diff line number Diff line change 1- 0.0.348
1+ 0.0.349
You can’t perform that action at this time.
0 commit comments