>> Then put in ejabberd.cfg
>> {registration_timeout, infinity}.
>
> is a global option, and putting it inside mod_registration as we
> thought didn't work
I can confirm this. Really, it does not make the effect while inside
mod_registration and works fine if defined as global option. I think
this is a common pitfall.