- π¦πΊAustralia 2pha
I have the same problem, but in my case, it is because of a profile which had a required date field in it, and this profile field needed to be filled out when creating a user.
If I selected a value for the date field before setting the password, it was fine. But if I tried settings the password when the date field did not yet have a value, I got the ajax error "TypeError: DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string" - Status changed to Closed: works as designed
about 1 year ago 2:26pm 8 December 2023 - πΊπΈUnited States JackG102 Falls Church, VA
After reading through the comments and having had the community respond -- this seems like an issue present elsewhere rather than the Password Policy module itself. I'll close the issue for now and mark it as "Closed works as designed". Thank you for the input and solutions all around!