diff --git a/two_factor/views/core.py b/two_factor/views/core.py index d37ea19f4..2dea603a7 100644 --- a/two_factor/views/core.py +++ b/two_factor/views/core.py @@ -707,6 +707,8 @@ class QRGeneratorView(View): } def get_issuer(self): + if settings.TOTP_ISSUER: + return settings.TOTP_ISSUER return get_current_site(self.request).name def get_username(self):