Skip to content

Commit

Permalink
Always save 'dashboard display' as True
Browse files Browse the repository at this point in the history
I can't imagine a reason not to show a client on the dashboard, so I've made it a default in the new route
  • Loading branch information
jonodrew committed Jun 21, 2024
1 parent 756ac3c commit e29e176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def new_client():
request_dict = request.form.to_dict()
sso_oidc.save_client(
filename=f"{request_dict['app_url']}_{uuid.uuid4().hex}.json",
client={"secret": client_secret, **request_dict},
client={"secret": client_secret, "dashboard_display": True, **request_dict},
client_id=client_id
)
return redirect(f"/view?client_id={client_id}")
Expand Down

0 comments on commit e29e176

Please sign in to comment.