- Posts: 98
- Thank you received: 9
Ask the community, share ideas, and connect with other LimeSurvey users!
tassoman wrote: This feature is available in LS since 3.17.x the only effort is to write a plugin who define the token creation behaviour. In detail I must hook to afterGenerateToken event
[shnoulle@poledra 3LTS]$ cd application/ [shnoulle@poledra application]$ grep -r "afterGenerateToken" *
Maybe an issue with inherited or something like that ?tassoman wrote: Last question is: because my token doesn't have a fixed length, should I keep NULL $event->get('iTokenLength'); ?
DenisChenu wrote: Are you sure ?
I don't find how … maybe … but really didn't know …tassoman wrote:
DenisChenu wrote: Are you sure ?
Well ... No I've did a mistake. The hook was added only inside the 4.x branch.
Do you think I have a chance to extend the method named generateToken inside the Token model by writing a plugin?