TT#88512 Fix redirection in order to login v2 automatically

Change-Id: I153c8f9e8c23fff393628b327652251016bde7d7
mr9.0
Hans-Peter Herzog 5 years ago
parent adcfc4f775
commit 0ce823b822

@ -695,7 +695,7 @@ sub login_to_v2 :Chained('/') :PathPart('login_to_v2') :Args(0) {
$redis->set("jwt:$token", '');
$redis->expire("jwt:$token", 300);
$c->res->redirect($c->req->base.'v2/#/'.$c->req->params->{page}.'?v1_auth='.$token);
$c->res->redirect($c->req->base.'v2?v1_auth='.$token.'#/'.$c->req->params->{page});
}
sub api_apply_fake_time :Private {

Loading…
Cancel
Save