Skip to content

Commit

Permalink
Showing server error when trying to use a team invite link as a guest (
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino authored and srkgupta committed Oct 9, 2019
1 parent 330b397 commit fd512bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/signup/signup_controller/signup_controller.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export default class SignupController extends React.Component {
let serverError;
if (err.server_error_id === 'store.sql_user.save.max_accounts.app_error') {
serverError = err.message;
} else if (err.server_error_id === 'api.team.add_user_to_team_from_invite.guest.app_error') {
serverError = err.message;
} else {
serverError = (
<FormattedMessage
Expand Down

0 comments on commit fd512bf

Please sign in to comment.