-
- 239 Posts
I have a registration form that creates accounts and sends an activation email. I'm assuming since my users are complaining once they registered that their account is blocked that they did not click the activate button in their email in time?
I'm wondering where I would increase this time?
I've been looking in the login.class.php but no luck....wondering if this might be set in a template that i can't find somewhere or if their is a default value that comes with the package that I can change.
Thanks!
-
- 24,544 Posts
The &activationttl property of the Register snippet sets the time limit in minutes. The default is 180.
-
- 239 Posts
Thanks yes I reviewed the docs and did not come up with anything.
-
- 24,544 Posts
It's listed on this page:
https://docs.modx.com/extras/revo/login/login.register.
And, yes, you should be able to add &activationttl=10080 to the register snippet tag.
-
- 24,544 Posts
I can't see how it wouldn't, but I've never tested it directly. I did put it in my Register snippet (as part of the Subscribe package) at Bob's Guides and haven't had a complaint since.