summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 139a820)
raw | patch | inline | side by side (parent: 139a820)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 22:12:36 +0000 (22:12 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 22:12:36 +0000 (22:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10044 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/password-methods/class_password-methods-crypt.inc | patch | blob | history |
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 b03b602c7c0dd41fd3e91abcb062b18dac3f2361..518449a139da862604446451b2d4d1d371a2f249 100644 (file)
$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";
}