fixed display of password encoding

This commit is contained in:
Roland Gruber 2006-06-29 15:30:35 +00:00
parent dac7e5f0d3
commit 6f1cfd0a74
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ function get_enc_type( $user_password )
/* Capture the stuff in the { } to determine if this is crypt, md5, etc. */
$enc_type = null;
if( preg_match( "/{([^}]+)}/", $user_password, $enc_type) )
return $enc_type[1];
return strtoupper($enc_type[1]);
else
return null;
}