Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Only update credentials on login #6437

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

montezdesousa
Copy link
Contributor

  1. Why?

    • Login resets the user preferences to their default

    • If the user changes some preference in user_settings.json file and then logs in, it ignores the file changes and uses defaults instead

  2. What?

    • Make sure only credentials are updated (merged with local credentials) when login
  3. Impact

    • NA
  4. Testing Done:

    • Change preferences in user_settings.json. Login into the Hub with different credentials than you have in user_settings.json. Confirm no preferences were updated and local credentials were updated with values set in the hub.

@github-actions github-actions bot added bug Fix bug platform OpenBB Platform v4 PRs for v4 labels May 20, 2024
@montezdesousa montezdesousa requested a review from hjoaquim May 20, 2024 10:56
@montezdesousa montezdesousa requested a review from IgorWounds May 20, 2024 13:00
@IgorWounds IgorWounds added this pull request to the merge queue May 20, 2024
@IgorWounds
Copy link
Contributor

This works well

Merged via the queue into develop with commit 96ade73 May 20, 2024
9 checks passed
@IgorWounds IgorWounds deleted the bugfix/login-creds-only branch May 20, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants