summaryrefslogtreecommitdiffstats
path: root/webapp/components/signup
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/signup')
-rw-r--r--webapp/components/signup/signup_controller.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/signup/signup_controller.jsx b/webapp/components/signup/signup_controller.jsx
index a0587bba9..67d3b0c4f 100644
--- a/webapp/components/signup/signup_controller.jsx
+++ b/webapp/components/signup/signup_controller.jsx
@@ -33,11 +33,12 @@ export default class SignupController extends React.Component {
if (props.location.query) {
loading = true;
const hash = props.location.query.h;
+ const inviteId = props.location.query.id;
if (hash && hash.length > 0 && !UserStore.getCurrentUser()) {
usedBefore = BrowserStore.getGlobalItem(hash);
loading = false;
- } else if (global.window.mm_config.EnableOpenServer !== 'true' && !UserStore.getNoAccounts()) {
+ } else if (!inviteId && global.window.mm_config.EnableOpenServer !== 'true' && !UserStore.getNoAccounts()) {
noOpenServerError = true;
loading = false;
serverError = (