mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Merge branch 'master' of https://github.com/syuilo/misskey
This commit is contained in:
commit
c35e760fd3
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "6.3.0",
|
"version": "6.3.2",
|
||||||
"clientVersion": "1.0.8483",
|
"clientVersion": "1.0.8498",
|
||||||
"codename": "nighthike",
|
"codename": "nighthike",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -34,7 +34,7 @@ export default async (ctx: Koa.Context) => {
|
|||||||
|
|
||||||
const meta = await Meta.findOne({});
|
const meta = await Meta.findOne({});
|
||||||
|
|
||||||
if (meta.disableRegistration) {
|
if (meta && meta.disableRegistration) {
|
||||||
if (invitationCode == null || typeof invitationCode != 'string') {
|
if (invitationCode == null || typeof invitationCode != 'string') {
|
||||||
ctx.status = 400;
|
ctx.status = 400;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user