Skip to content

Commit

Permalink
Fix missing nclogin for some identity providers
Browse files Browse the repository at this point in the history
  • Loading branch information
LoanR committed May 15, 2024
1 parent b028028 commit e7ac463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/b3desk/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def get_user_nc_credentials(preferred_username="", email=""):
current_app.config["NC_LOGIN_API_URL"],
)
return {"nctoken": None, "nclocator": None, "nclogin": None}
if "nclogin" not in result:
result["nclogin"] = nc_username
return result


Expand Down

0 comments on commit e7ac463

Please sign in to comment.