2段階認証を有効にするとログインできない問題を修正

This commit is contained in:
syuilo 2019-04-22 00:38:37 +09:00
parent 81ea683f9f
commit 0dba373fce

View file

@ -144,6 +144,7 @@ export class UserRepository extends Repository<User> {
autoWatch: profile!.autoWatch,
alwaysMarkNsfw: profile!.alwaysMarkNsfw,
carefulBot: profile!.carefulBot,
twoFactorEnabled: profile!.twoFactorEnabled,
hasUnreadMessagingMessage: MessagingMessages.count({
where: {
recipientId: user.id,