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

This commit is contained in:
syuilo 2019-04-22 00:38:37 +09:00
parent 23a5a75778
commit f9ff621d4a
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

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