fix: impersonation for orgs (#12113)

This commit is contained in:
sean-brydon authored and GitHub committed 2023-10-30 12:20:48 -03:00
1 parent 9e3465eeb6
commit 0a59c95b93
3 files changed
+69 -38

No files matched your search

@@ -27,7 +27,7 @@ export function ImpersonationMemberModal(props: { state: State; dispatch: Dispat
onSubmit={async (e) => {
e.preventDefault();
await signIn("impersonation-auth", {
username: user.username || user.email,
username: user.email,
teamId: teamId,
});
props.dispatch({