Index: ossp-pkg/tabea/tabea.cgi RCS File: /v/ossp/cvs/ossp-pkg/tabea/tabea.cgi,v rcsdiff -q -kk '-r1.27' '-r1.28' -u '/v/ossp/cvs/ossp-pkg/tabea/tabea.cgi,v' 2>/dev/null --- tabea.cgi 2002/06/14 13:42:32 1.27 +++ tabea.cgi 2002/06/14 14:53:08 1.28 @@ -850,7 +850,9 @@ $valid = &validpassword($user, $old_password, $cfghash{'BaseDir'}.$cfghash{'PasswdFile'}); - if ( $user !~ $cfghash{'TabeaUser'}) { $valid = 1; } + if ( $username =~ $cfghash{'TabeaUser'}) { + if ( $user !~ $cfghash{'TabeaUser'}) { $valid = 0; } + } if ( !$valid ) { $cptext .= "The password is incorrect.

\n". $cgi->submit(-name => 'dialog_mainw', -value => 'Back'); @@ -878,6 +880,7 @@ $cgi->submit(-name => 'dialog_mainw', -value => 'Back'); } } + ENDE: return $cptext; }