Open techemmy opened 9 months ago
Able to replicate the issue. The better fix is not letting the user to login. If user is already loggedIn
It happens in the /signupInvite
page allowing a loggedIn user to register via an invite.
2. Accept the member invite on the same browser
It's actually a frontend issue.
Well done @Salman2301 🙌
Describe the bug
I invited a new user to an organization as an admin. In the same browser in a new tab, I received the invite I sent (I have access to the new user email). In the new user account on the members section, the Add to projects button shows beside the new user's email (which I think should show for only admins). I clicked the button which threw the Application error prompt. I refreshed the page hoping it was because I was just logged in as an admin before accepting the invite, but the button was still there. I tried logging in to the Member account on a different browser, but t still shows the same button.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
I don't think the Add to projects button should show for just Members.
Screenshots
Platform you are having the issue on:
On app.infisical.com
ENG-146