Change do_expire on Sponsor validation
03-12-2019 02:52 AM
Do you know how to change the do_expire value of an account when the sponsor confirm the account (already tried setting the value in the receipt form with no luck).
The idea behind this is a self-sponsoring using e-mail: the user register himself and get access to internet during 10 minutes to retrieve his mails and get the validation link. If the account is not validated, I would like to delete it (to allow the user to recreate it and validate it) but once the account is validated and it expires, I don't want to permit the user to recreate a new account.
Maybe the do_expire option is not correct and there is a better way to do it.