bernd commited on 2009-11-23 16:48:15
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1518 87cf0b9e-d624-0410-a070-f6ee81989793
| ... | ... |
@@ -5,6 +5,11 @@ require_once('inc/error.php');
|
| 5 | 5 |
|
| 6 | 6 |
function strong_password($password) |
| 7 | 7 |
{
|
| 8 |
+ if (! function_exists("crack_opendict"))
|
|
| 9 |
+ {
|
|
| 10 |
+ DEBUG("cracklib not available!");
|
|
| 11 |
+ return true; |
|
| 12 |
+ } |
|
| 8 | 13 |
if (config('use_cracklib') === NULL or config('use_cracklib') === false) {
|
| 9 | 14 |
DEBUG('Cracklib deaktiviert');
|
| 10 | 15 |
return true; |
| 11 | 16 |