From 57b19757b9a7712b7a457270e259a53b697d4a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 28 Jun 2022 16:40:35 +0200 Subject: [PATCH] fixed MFA --- server/src/uds/models/authenticator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/uds/models/authenticator.py b/server/src/uds/models/authenticator.py index 5b5c46b6b..f99dafb2b 100644 --- a/server/src/uds/models/authenticator.py +++ b/server/src/uds/models/authenticator.py @@ -69,7 +69,7 @@ class Authenticator(ManagedObjectModel, TaggingMixin): groups: 'models.manager.RelatedManager[Group]' # MFA associated to this authenticator. Can be null - mfa = models.ForeignKey(MFA, on_delete=models.SET_NULL, null=True, blank=True, related_name='authenticators') + mfa = models.ForeignKey('MFA', on_delete=models.SET_NULL, null=True, blank=True, related_name='authenticators') class Meta(ManagedObjectModel.Meta): # pylint: disable=too-few-public-methods """