From 0179e81e03f2e35d609e8f41f480d78bf597067e Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 27 Mar 2008 22:12:36 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../include/password-methods/class_password-methods-crypt.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.30.2