Problem statement
In the below documentation, it says the custom variable lang
can be accessed on the custom password reset page. Where is the value for this variable sourced from?
Solution
We use the value of the Accept-Language
header sent in the request to populate the lang
variable on the custom password reset page.