Token length is shortened when using API

More
1 month 3 weeks ago - 1 month 3 weeks ago #199647 by JSinitson
I'm issuing the method add_participants using the API.
The participiants are added an I get the tokens in the response.

But why are the tokens in that response not 15 chars long as in the Participant settings panel, but just 3?

When I add the token using the Amdin GUI the token length is correct.
Am I missing something?

This is the code I'm issuing:
$res = $myJSONRPCClient->add_participants($sessionKey, $surveyId, $participiants, true);

LimeSurvey Version is 4.1.17+200414
Last edit: 1 month 3 weeks ago by JSinitson.

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 3 weeks ago - 1 month 3 weeks ago #199748 by DenisChenu
Strange ?

If you are sure : please report the issue …
If possible : with default survey settings + group survey setting + a lss.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Last edit: 1 month 3 weeks ago by DenisChenu.

Please Log in to join the conversation.

More
1 month 2 weeks ago - 1 month 2 weeks ago #200064 by JSinitson
The issue is already reported: bugs.limesurvey.org/view.php?id=16042

And the workaround is also there: do not inherit the token length from the global settings.
Last edit: 1 month 2 weeks ago by JSinitson.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now