Merge branch 'pilot-ereuse' of gitea.pangea.org:trustchain-oc1-orchestral/IdHub into pilot-ereuse

This commit is contained in:
Cayo Puigdefabregas 2024-04-01 10:15:41 +02:00
commit 0d6f993f75
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ class AllowCodeView(View):
)
if self.request.session.get("response_uri"):
url = self.send_api()
return redirect(url)
if url:
return redirect(url)
promotion = self.authorization.promotions.first()
if not promotion: