Show a specific error for hs_disabled
This commit is contained in:
parent
048a3f6ec8
commit
5de92b68d9
6 changed files with 11 additions and 1 deletions
|
@ -218,6 +218,9 @@ export default class LoginComponent extends React.PureComponent<IProps, IState>
|
|||
'monthly_active_user': _td(
|
||||
"This homeserver has hit its Monthly Active User limit.",
|
||||
),
|
||||
'hs_blocked': _td(
|
||||
"This homeserver has been blocked by it's administrator.",
|
||||
),
|
||||
'': _td(
|
||||
"This homeserver has exceeded one of its resource limits.",
|
||||
),
|
||||
|
|
|
@ -276,6 +276,7 @@ export default class Registration extends React.Component<IProps, IState> {
|
|||
response.data.admin_contact,
|
||||
{
|
||||
'monthly_active_user': _td("This homeserver has hit its Monthly Active User limit."),
|
||||
'hs_blocked': _td("This homeserver has been blocked by it's administrator."),
|
||||
'': _td("This homeserver has exceeded one of its resource limits."),
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue