Skip to content

Commit

Permalink
chore(login): allow hiding login buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Sep 30, 2019
1 parent 596e153 commit dad882e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fence/blueprints/login/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ def provider_info(idp_id):
"url": None,
"desc": None,
"secondary": False,
"hidden": False,
}
return {
"id": idp_id,
"name": idps[idp_id]["name"],
"url": absolute_login_url(idp_id),
"desc": idps[idp_id].get("desc", None),
"secondary": idps[idp_id].get("secondary", False),
"hidden": idps[idp_id].get("hidden", False),
}

try:
Expand Down

0 comments on commit dad882e

Please sign in to comment.