my %userbase;
dbmopen %userbase,datafile($forum,"passwd"),0644;
if ( $userbase{$user}) {
+ print STDERR "getting user info for $user\n";
my $userinfo = thaw($userbase{$user});
delete $userinfo->{"passwd"};
$userinfo->{"user"} = $user;
my $username = $user;
$username =~ s/^http:\/\///;
if (!$userbase{$username}) {
- $userbase{$username} = $forum->{authenticated}={"openiduser"=>1};
+ $userbase{$username} = freeze($forum->{authenticated}={"openiduser"=>1});
} else {
$forum->{authenticated} = thaw ($userbase{$username});
}