Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Bainzy[/eluser]
the logic checks to see if a username is already taken, if thats the case rathen than throwing up a error the code changes the username to "tester1" "tester2" ... you can obviously change this logic so that it does throw up a error ( i beleive the function is username_check )

So the lines of code your talking about lies here :

Code:
// If username is taken, use username1 or username2, etc.        
if ($this->identity_column != 'username'){
    for($i = 0; $this->username_check($username); $i++){
    if($i > 0){
        $username .= $i;
    }    
    }        
}

This is found in the register function in the ion_auth_model.php file

This is what you need to change in order to remove this functionality.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 10-08-2010, 07:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB