fixed signup (#3858)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
4780724ead
Коммит
c93ce7af3f
@@ -33,11 +33,12 @@ export default class SignupController extends React.Component {
|
|||||||
if (props.location.query) {
|
if (props.location.query) {
|
||||||
loading = true;
|
loading = true;
|
||||||
const hash = props.location.query.h;
|
const hash = props.location.query.h;
|
||||||
|
const inviteId = props.location.query.id;
|
||||||
|
|
||||||
if (hash && hash.length > 0 && !UserStore.getCurrentUser()) {
|
if (hash && hash.length > 0 && !UserStore.getCurrentUser()) {
|
||||||
usedBefore = BrowserStore.getGlobalItem(hash);
|
usedBefore = BrowserStore.getGlobalItem(hash);
|
||||||
loading = false;
|
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;
|
noOpenServerError = true;
|
||||||
loading = false;
|
loading = false;
|
||||||
serverError = (
|
serverError = (
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user