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,
alwaysMarkNsfw: profile!.alwaysMarkNsfw,
carefulBot: profile!.carefulBot,
twoFactorEnabled: profile!.twoFactorEnabled,
hasUnreadMessagingMessage: MessagingMessages.count({
where: {
recipientId: user.id,