Account policy for username/email is applied for new users

Created on 14 September 2023, about 1 year ago
Updated 21 September 2023, about 1 year ago

Problem/Motivation

When you create a new user the account policy is skipped because the "$currentUser" variable is actualy still empty.

Steps to reproduce

Create a new user when you have a policy setup for username or password

Proposed resolution

Change the validation or create an empty user object before instead of getting it from the form.

Remaining tasks

Fix and review

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium Mschudders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024