Osclass Support Forums

Osclass plugin support => Auto Registration Plugin => Topic started by: Elod Andras on December 21, 2017, 10:37:46 PM

Title: Auto Registration slows down publis time
Post by: Elod Andras on December 21, 2017, 10:37:46 PM
When i instal the Auto Registration plugin slows down publis time (in my localhost too).
Title: Re: Auto Registration slows down publis time
Post by: Elod Andras on December 22, 2017, 08:17:05 AM
I realize that the slow is not  coming form the script. Normal signup form  is slow too.
Title: Re: Auto Registration slows down publis time
Post by: MB Themes on December 22, 2017, 10:41:00 AM
@Elod
It's slowed down by Bcrypt (if I remmeber correctly). I lowered length of key and it worked fine.
More infor on osclass forums.
Title: Re: Auto Registration slows down publis time
Post by: Elod Andras on December 22, 2017, 11:10:39 AM
Yes i tried the Bcrypt set to 5, but only the login speed is faster , on the user creation side did not help mutch.
But I still have a question, my user need to validate thear accounts, and the first ads. The user gets 3 mail Activate account, Activate Ads, and user Register (autoregister).
if the user dont activate the accout it will remain deactivated. How can i make with Ads activation the user account activate too whit one link ? (widtout to disable user don't need to activate account from admin) ?
Title: Re: Auto Registration slows down publis time
Post by: MB Themes on December 22, 2017, 11:31:18 AM
I put this into config:
Code: [Select]
define('BCRYPT_COST', 8);
Got everything related to user loaded in 1-2 seconds.
It may take few days to take effect, as password must reset.
Title: Re: Auto Registration slows down publis time
Post by: Elod Andras on December 22, 2017, 11:52:49 AM
i have put define('BCRYPT_COST', 5); 5 is to low ?

Can you help me with the other question ?
Title: Re: Auto Registration slows down publis time
Post by: MB Themes on December 22, 2017, 12:18:42 PM
@Elod
I am not expert on this, I've just tried and it worked.
If you have non-related question, create new thread.