diff --git a/authentik/stages/authenticator_mobile/models.py b/authentik/stages/authenticator_mobile/models.py index 17f9624ce..f990ab1c0 100644 --- a/authentik/stages/authenticator_mobile/models.py +++ b/authentik/stages/authenticator_mobile/models.py @@ -177,6 +177,7 @@ class MobileTransaction(ExpiringModel): client_ip = ClientIPMiddleware.get_client_ip(request) context["_brand"] = request.tenant.branding_title + # pylint: disable=no-member context["_user"] = user.username geo = None diff --git a/web/src/flow/stages/authenticator_mobile/AuthenticatorMobileStage.ts b/web/src/flow/stages/authenticator_mobile/AuthenticatorMobileStage.ts index 1d4d7e2d2..a3bee2c1b 100644 --- a/web/src/flow/stages/authenticator_mobile/AuthenticatorMobileStage.ts +++ b/web/src/flow/stages/authenticator_mobile/AuthenticatorMobileStage.ts @@ -102,7 +102,7 @@ export class AuthenticatorMobileStage extends BaseStage<