fix: Show error message when signing in to suspended account

closes #1056
This commit is contained in:
Tom Moor
2019-10-12 19:16:17 -07:00
parent fc201663c6
commit ec4d4fb20f
4 changed files with 13 additions and 3 deletions

View File

@ -27,6 +27,12 @@ export default function AuthErrors({ notice }: Props) {
Please try again.
</Notice>
)}
{notice === 'suspended' && (
<Notice>
Your Outline account has been suspended. To re-activate your account,
please contact a team admin.
</Notice>
)}
</React.Fragment>
);
}