fix: show a distinct error message when a user tries to create an account using a personal gmail (#3710)
* fix: show a different error message when a user tries to create an account using a personal gmail * throw only after attempting to find the team
This commit is contained in:
@@ -18,6 +18,13 @@ export default function Notices() {
|
||||
invite email.
|
||||
</NoticeAlert>
|
||||
)}
|
||||
{notice === "gmail-account-creation" && (
|
||||
<NoticeAlert>
|
||||
Sorry, a new account cannot be created with a personal Gmail address.
|
||||
<hr />
|
||||
Please use a Google Workspaces account instead.
|
||||
</NoticeAlert>
|
||||
)}
|
||||
{notice === "maximum-teams" && (
|
||||
<NoticeAlert>
|
||||
The team you authenticated with is not authorized on this
|
||||
|
||||
Reference in New Issue
Block a user