-
Notifications
You must be signed in to change notification settings - Fork 14
Description
(Put bug title here)
Description
passwordValidationRules not available when redirecting a user to change their password (after a successful login typically). This was available as a variable on version 1.36.0
Observed versions
1.48.2
Affects versions
>= 1.47.0
Steps to reproduce
Steps to reproduce the behavior:
0. Update the change password form to have the following on main ${passwordValidationRules}
- Create a new user
- Force that user to change their password on next login
- Have the user login
- Observe a null error from freemarker
Workaround
If you encounter this issue you may optionally check this value in your theme for null by using an if check. For example [#if passwordValidationRules??]. Or you may reference this object from the tenant - for example tenant.passwordValidationRules.
Expected behavior
No expected behavior (our default theme does a null check on this variable with conditionals) but it is not clear as to why this variable is available on one version of FusionAuth and not on another.
Platform
dev platform - related slack thread https://inversoft.slack.com/archives/C01TJLP2HQ8/p1705544952279809?thread_ts=1705369296.546639&cid=C01TJLP2HQ8
Related
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status