Welcome Guest, Not a member yet? Register   Sign In
[FreakAuth Light] Username validation bugs
#1

[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 ?
#2

[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.
#3

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




Theme © iAndrew 2016 - Forum software by © MyBB