Open rtpHarry opened 1 year ago
I thought maybe I could generate a password in a hidden field.
It is possible, but not as clean as I would like.
I've had to set a static password for all users. Unticking the render in html.
The hidden field is pretty limited still at the moment, with no option to "break out" such as calling a hook, or using a dynamic tag. It only has options to use pre-supplied values.
I'm building a user portal which requires approval before the user can access it.
It makes sense to let the user just sign up with their details, and not require a password at this stage:
It would make sense to allow this scenario in certain situations, like admin users creating accounts for users, or low friction sign ups.
The reset password link can be used later on to allow the user to take control of the account.
WooCommerce has a similar option, where it auto generates an account for you during the checkout but you have to reset the password to get access to the account.