From f9ff621d4ab39a3800c5807362d52d43666f93cb Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 22 Apr 2019 00:38:37 +0900 Subject: [PATCH] =?UTF-8?q?2=E6=AE=B5=E9=9A=8E=E8=AA=8D=E8=A8=BC=E3=82=92?= =?UTF-8?q?=E6=9C=89=E5=8A=B9=E3=81=AB=E3=81=99=E3=82=8B=E3=81=A8=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=82=A4=E3=83=B3=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/repositories/user.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts index 36bba05e8e..afba15eb53 100644 --- a/src/models/repositories/user.ts +++ b/src/models/repositories/user.ts @@ -144,6 +144,7 @@ export class UserRepository extends Repository { autoWatch: profile!.autoWatch, alwaysMarkNsfw: profile!.alwaysMarkNsfw, carefulBot: profile!.carefulBot, + twoFactorEnabled: profile!.twoFactorEnabled, hasUnreadMessagingMessage: MessagingMessages.count({ where: { recipientId: user.id,