Hi, having some limited experience with Velo, I ran into a client’s request, that I am not sure how to approach:
We have a WIX STUDIO site with a member area.
Everything is set up without Velo: Sign Up , Log in.
Sign Up has a custom form (but not a Velo form) - to collect some other information from new members.
Log in is standard.
We want to get the member’s password expired after a period of time (days).
After talking to WIX support, we understand there is no way to do that.
A “reset password” can be initiated manually from the site member’s page in the dashboard. But we are looking for an automated process.
We have a general idea of a possible solution, and wanted to ask if it makes sense, or if someone has some experience with that.
Here’s the idea:
-
Set up an automation from the dashboard, that is triggered when a member logs in.
-
Automation will trigger a Velo code.
-
The code checks the member’s password status.
I think this is a bit tricky since I see there are only records of last activity or the sign up date, but not a “last password change” date. -
If the password was changed more than X days ago - a sendSetPasswordEmail( ) command will initiate, and send a mail to the member forcing him to change password by mail.
-
Member is logged off till he changes his password.
-
Another challenge that we have to overcome is as the documentation says:
“The set password link is valid for 3 hours, and it can be used only once. If the link expires, no changes are made to the password.” And we do want to force him to change password. -
Maybe another workaround is to delete member, and make him sign up again?
Can this be done with Velo? Any ideas? Any experience with that?
Thanks,
Gidon