Skip to content

Commit

Permalink
Update descope.py
Browse files Browse the repository at this point in the history
  • Loading branch information
allenzhou101 committed Feb 14, 2024
1 parent b27f581 commit 082a845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_descope/templatetags/descope.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def descope_flow(context, flow_id, success_redirect, form=None):
form_attribute = f'form=\'{form}\' ' if form else ''

flow = f"""
<descope-wc id="{id}" project-id="{PROJECT_ID}" flow-id="{flow_id}" form="{form_attribute}"
<descope-wc id="{id}" project-id="{PROJECT_ID}" flow-id="{flow_id}" {form_attribute}
base-url="{os.environ.get('DESCOPE_BASE_URI', '')}"></descope-wc>
<script>
const descopeWcEle = document.getElementById('{id}');
Expand Down

0 comments on commit 082a845

Please sign in to comment.