fix: inviting a team member dosent work when he login in via Google (#11312)

Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
Somay Chauhanandsean-brydon authored and GitHub committed 2024-06-04 07:54:26 +00:00
1 parent 56e59ab3e1
commit b15ad6f233
1 file changed
+3 -1
+3 -1
View File
@@ -249,7 +249,9 @@ inferSSRProps<typeof getServerSideProps> & WithNonceProps<{}>) {
CustomStartIcon={<GoogleIcon />}
onClick={async (e) => {
e.preventDefault();
await signIn("google");
await signIn("google", {
callbackUrl,
});
}}>
{t("signin_with_google")}
</Button>