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

This commit is contained in:
syuilo
2019-04-22 00:38:37 +09:00
parent 23a5a75778
commit f9ff621d4a

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,