From 9f8d21b2bc0d3816fc82fb24e41580ae86cf31ac Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Aug 2018 03:36:13 +0900 Subject: [PATCH 1/3] Fix #2298 --- src/server/api/private/signup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts index 2bf56a979..79e5e6ec4 100644 --- a/src/server/api/private/signup.ts +++ b/src/server/api/private/signup.ts @@ -34,7 +34,7 @@ export default async (ctx: Koa.Context) => { const meta = await Meta.findOne({}); - if (meta.disableRegistration) { + if (meta && meta.disableRegistration) { if (invitationCode == null || typeof invitationCode != 'string') { ctx.status = 400; return; From ae9c13df66a137634f9dfeaa5d58bda4f62dbf49 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Aug 2018 03:37:10 +0900 Subject: [PATCH 2/3] 6.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a378f0856..31e056661 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "6.3.0", + "version": "6.3.1", "clientVersion": "1.0.8483", "codename": "nighthike", "main": "./built/index.js", From 98f25c915991b296e2fb5a9773b004d53b0ab22b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Aug 2018 03:37:56 +0900 Subject: [PATCH 3/3] 6.3.2 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 31e056661..2876f8031 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "misskey", "author": "syuilo ", - "version": "6.3.1", - "clientVersion": "1.0.8483", + "version": "6.3.2", + "clientVersion": "1.0.8498", "codename": "nighthike", "main": "./built/index.js", "private": true,