From: cajus Date: Thu, 27 Mar 2008 22:12:36 +0000 (+0000) Subject: Fixed typo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0179e81e03f2e35d609e8f41f480d78bf597067e;p=gosa.git Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/password-methods/class_password-methods-crypt.inc b/gosa-core/include/password-methods/class_password-methods-crypt.inc index b03b602c7..518449a13 100644 --- a/gosa-core/include/password-methods/class_password-methods-crypt.inc +++ b/gosa-core/include/password-methods/class_password-methods-crypt.inc @@ -104,11 +104,11 @@ class passwordMethodCrypt extends passwordMethod $password_hash= preg_replace('/^{[^}]+}!?/', '', $password_hash); - if (preg_match("/^[a-z-A-Z0-9.\/][a-z-A-Z0-9.\/]/", $password_hash)){ + if (preg_match("/^[a-zA-Z0-9.\/][a-zA-Z0-9.\/]/", $password_hash)){ return "crypt/standard-des"; } - if (preg_match("/^_[a–zA-Z0–9.\/]/i", $password_hash)){ + if (preg_match("/^_[a-zA-Z0-9.\/]/", $password_hash)){ return "crypt/enhanced-des"; }