Get platform name via microsite configuration for forgot password page

This commit is contained in:
Douglas Hall
2016-06-14 22:50:05 -04:00
parent 036faf9b41
commit a36ede4e25

View File

@@ -920,7 +920,7 @@ class PasswordResetView(APIView):
# Translators: These instructions appear on the password reset form,
# immediately below a field meant to hold the user's email address.
email_instructions = _(u"The email address you used to register with {platform_name}").format(
platform_name=settings.PLATFORM_NAME
platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME)
)
form_desc.add_field(