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

When i make a business account user invitation WITHOUT an associated restaurant group i create a 500 error #4155

Open
Paul-Eraman-CoopCycle opened this issue Apr 17, 2024 · 1 comment

Comments

@Paul-Eraman-CoopCycle
Copy link

I go to https://demo.coopcycle.org/admin/restaurants/business-accounts and press make a new business account. I fill in the name and email for a new user but NOT the restaurant group associated and click send. When I then go to my email, click the registration link and open the page to fill out my user information, clicking next makes a 500 error.

Image
Image

@lucasferraro
Copy link
Contributor

I'm checking this issue in my local environment.
I think the issue is not related to the existence or not of a restaurant group associated with the business account.

In my case I'm able to reproduce the issue if I open the invitation link in a browser where I have (or I recently had) an opened session as an admin user. Maybe you can check if it happens to you in the same case.
BTW, there's a bug that needs to be fixed, but as a workaround, if you are blocked just check to open the link in a browser where you are not logged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants