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

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: