fix next_url
This commit is contained in:
parent
278377090a
commit
18600af272
|
@ -300,7 +300,7 @@ class AllowCodeOidc4vp2View(GenericMixin):
|
||||||
return self.redirect()
|
return self.redirect()
|
||||||
|
|
||||||
def redirect(self):
|
def redirect(self):
|
||||||
url = session.get('next_url') or '/login'
|
url = session.pop('next_url', '/login')
|
||||||
return redirect(url)
|
return redirect(url)
|
||||||
|
|
||||||
def get_user_info(self):
|
def get_user_info(self):
|
||||||
|
|
Reference in New Issue