fix: Show error message when signing in to suspended account
closes #1056
This commit is contained in:
@ -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>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user