CodeIgniter Forums

Full Version: [FreakAuth Light] Username validation bugs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Référencement Google[/eluser]
Hi,

I don't know there is a bug here but it doesn't seem to work well for me.
In the config file it is set correctly:

Code:
$config['FAL_user_name_duplicate_validation'] = 'trim|required|xss_clean|username_check|username_duplicate_check';

But i still can register several users with the same username, it also does absolutly not check the username field, and didn't trim it.

Can somebody help me fix it ?

El Forum

[eluser]Référencement Google[/eluser]
I answer to myself because i've just got it after code analysis.
In the file FAL_front.php removing the lines 234 and 235 solve the problem.

REMOVED:
Code:
//if activated in config, sets the select country box
if ($this->CI->config->item('FAL_use_country'))

Does not need because this condition is just made after a few lines below.

El Forum

[eluser]Grahack[/eluser]
Yes, it was a 1.0.4 bug that Crimp found and fixed.