Welcome Guest, Not a member yet? Register   Sign In
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter
#48

[eluser]Christophe-France[/eluser]
the problem is in the application/libraries/Auth file :

if($single == TRUE && $user_level == $level)
{
return TRUE;
}
else
{
show_error($this->CI->lang->line('insufficient_privs'));
}
elseif($user_level <= $level)
{
return TRUE;
}
else
{
show_error($this->CI->lang->line('insufficient_privs'));
}

Just remove the first "else" condition, and it should work ;o)


Messages In This Thread
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter - by El Forum - 03-19-2009, 11:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB