stages/consent: fix formatting
This commit is contained in:
parent
ea1564548c
commit
b24938fc6b
|
@ -49,9 +49,7 @@ class ConsentStageView(FormView, StageView):
|
|||
if PLAN_CONTEXT_PENDING_USER in self.executor.plan.context:
|
||||
user = self.executor.plan.context[PLAN_CONTEXT_PENDING_USER]
|
||||
|
||||
if UserConsent.filter_not_expired(
|
||||
user=user, application=application
|
||||
).exists():
|
||||
if UserConsent.filter_not_expired(user=user, application=application).exists():
|
||||
return self.executor.stage_ok()
|
||||
|
||||
# No consent found, show form
|
||||
|
|
Reference in New Issue