Skip to content

login: don't set default slug if user not part of any orgs #2491 #2492

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

Merged
merged 4 commits into from
Mar 19, 2025

Conversation

ikreymer
Copy link
Member

if logged in user is not part of any orgs, still allow logging in, instead of throwing an exception due to accessing non-existent org

fixes #2491
if logged in user is not part of any orgs, still allow logging in, instead of throwing an exception
due to accessing non-existent org
@ikreymer ikreymer requested a review from SuaYoo March 18, 2025 23:25
@ikreymer ikreymer changed the title fixes #2491 login: don't set default slug if user not part of any orgs #2491 Mar 18, 2025
@ikreymer
Copy link
Member Author

Also tested removing a user from all orgs, inviting user to a new org, and allowing user to accept invite. With this fix, the user is able to log in again.

SuaYoo added 2 commits March 19, 2025 11:56
@SuaYoo
Copy link
Member

SuaYoo commented Mar 19, 2025

@ikreymer Pushed a few basic tests

@ikreymer ikreymer merged commit c9c32d8 into main Mar 19, 2025
27 checks passed
@ikreymer ikreymer deleted the issue-2491-fix-login-if-no-slug branch March 19, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants