Page 1 of 1
Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 10:27
by Sreedhar_cd
Hi , Is it possible change "actcode" length from 32 in "Activation and Email" flow.
Re: Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 12:08
by Lapo
HI,
sorry but it's not very clear what you are referring to
Please be more specific and provide the details of the problem you wish to solve.
Thanks
Re: Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 13:06
by Sreedhar_cd
Hi Lapo,
We are using sign up assistence component for our user registration. In user registartion flow, we are sending "activation code" to email and verifying.
As per the document "http://docs2x.smartfoxserver.com/ExtensionsJava/signup-assistant-activation", present the length of the activation code is "32" characters. As per my requirement i need to decrease the length to "6" characters.
Can you pease help me
Re: Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 13:38
by Lapo
Thanks for the clarification,
we don't support variable length codes at the moment.
Cheers
Re: Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 16:13
by SmartfoxEnjoyer
Try this:
Code: Select all
suac.getConfig().activationCodeLength = 6;
Re: Is it possible change "actcode" length from 32.
Posted: 11 Jan 2024, 17:01
by Lapo
My bad, I had completely forgotten that this existed!
Thanks
@SmartfoxEnjoyerCheers