Hi, any idea where I should look, file name ? function ?
Best Adrian 2011/11/14 Zordrak <zord...@tpa.me.uk>: > Adrian Stel wrote: >> Hi, >> >> >> thanks :) >> >> phpass has many method I use hash_base64, RTSiteConfig.pm: >> >> 'p_enc_pkg' => 'Authen::Passphrase::PHPass', >> 'p_enc_sub' => 'hash_base64', >> >> >> and when i put user/pass I get: >> >> RT Site: >> http://150.254.148.60/NoAuth/Login.html >> >> Can't use string ("*****") as a HASH ref while "strict refs" in use at >> /usr/local/share/perl/5.10.1/Authen/Passphrase/PHPass.pm line 278. >> >> But when I reload page I will be login to RT. >> >> Any idea why we get this error. > > > My guess would be that PHPass.pm expects the password to be sent to it > as a hashref instead of a string. IF this is the case then you will need > to modify the code in ExternalAuth so that when the subroutine is > called, the string is first converted into a hashref and then sent as a > parameter. > -- > Zordrak > zord...@tpa.me.uk > -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 & 29, 2011