>>
return ($pass == $password);
<<
I think this is the problem...that code is evaluating whether $pass equals $password....obviously it does as the login in successfull and so 1 is returned ( 1 = true, 0 = false).
Although I think == should be eq
It looks like it is expecting a hashref to be returned though.
return ($pass == $password);
<<
I think this is the problem...that code is evaluating whether $pass equals $password....obviously it does as the login in successfull and so 1 is returned ( 1 = true, 0 = false).
Although I think == should be eq
It looks like it is expecting a hashref to be returned though.