diff options
-rw-r--r-- | service/pixelated/resources/login_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/login_resource.py b/service/pixelated/resources/login_resource.py index 48092aa5..34cc7dd0 100644 --- a/service/pixelated/resources/login_resource.py +++ b/service/pixelated/resources/login_resource.py @@ -175,7 +175,7 @@ class LoginResource(BaseResource): self._services_factory.map_email(self.creds.username, user_id) if leap_session.fresh_account: - language = parse_accept_language(request.allHeaders()) + language = parse_accept_language(request.getAllHeaders()) yield add_welcome_mail(leap_session.mail_store, language) self._init_http_session(request, user_id) |