File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ fn auth<T: AsyncCisClientTrait + 'static>(
7373 if must_state != state. secret ( ) {
7474 return Box :: new ( future:: ok (
7575 HttpResponse :: Found ( )
76- . header ( http:: header:: LOCATION , "/error" )
76+ . header ( http:: header:: LOCATION , "/e?identityAdded= error" )
7777 . finish ( ) ,
7878 ) ) ;
7979 }
8080 } else {
8181 return Box :: new ( future:: ok (
8282 HttpResponse :: Found ( )
83- . header ( http:: header:: LOCATION , "/error" )
83+ . header ( http:: header:: LOCATION , "/e?identityAdded= error" )
8484 . finish ( ) ,
8585 ) ) ;
8686 }
@@ -118,7 +118,7 @@ fn auth<T: AsyncCisClientTrait + 'static>(
118118 } )
119119 . and_then ( |_| {
120120 HttpResponse :: Found ( )
121- . header ( http:: header:: LOCATION , "/e" )
121+ . header ( http:: header:: LOCATION , "/e?identityAdded=bugzilla " )
122122 . finish ( )
123123 } ) ,
124124 )
Original file line number Diff line number Diff line change @@ -100,14 +100,14 @@ fn auth<T: AsyncCisClientTrait + 'static>(
100100 if must_state != state. secret ( ) {
101101 return Box :: new ( future:: ok (
102102 HttpResponse :: Found ( )
103- . header ( http:: header:: LOCATION , "/error" )
103+ . header ( http:: header:: LOCATION , "/e?identityAdded= error" )
104104 . finish ( ) ,
105105 ) ) ;
106106 }
107107 } else {
108108 return Box :: new ( future:: ok (
109109 HttpResponse :: Found ( )
110- . header ( http:: header:: LOCATION , "/error" )
110+ . header ( http:: header:: LOCATION , "/e?identityAdded= error" )
111111 . finish ( ) ,
112112 ) ) ;
113113 }
@@ -150,14 +150,14 @@ fn auth<T: AsyncCisClientTrait + 'static>(
150150 } )
151151 . and_then ( |_| {
152152 HttpResponse :: Found ( )
153- . header ( http:: header:: LOCATION , "/e" )
153+ . header ( http:: header:: LOCATION , "/e?identityAdded=github " )
154154 . finish ( )
155155 } ) ,
156156 ) ;
157157 }
158158 Box :: new ( future:: ok (
159159 HttpResponse :: Found ( )
160- . header ( http:: header:: LOCATION , "/error" )
160+ . header ( http:: header:: LOCATION , "/e?identityAdded= error" )
161161 . finish ( ) ,
162162 ) )
163163}
You can’t perform that action at this time.
0 commit comments