From 7473e9250a20983393201ec6fc7dbb476fa367a7 Mon Sep 17 00:00:00 2001 From: "m.fu" Date: Tue, 24 Mar 2009 23:37:12 +0000 Subject: Fixed #409406 by fasdalf@fasdalf.ru : remove comma in htgroup file --- HTPasswdSync.module | 12 +++--------- README.txt | 2 ++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/HTPasswdSync.module b/HTPasswdSync.module index 2e1ed9d..6efbe76 100644 --- a/HTPasswdSync.module +++ b/HTPasswdSync.module @@ -1,4 +1,4 @@ -name .", "; + $groups[$name] .= " ". $r->name; } - // get rid of tailing characters - $groups[$name] = rtrim($groups[$name], ", "); - } - _htpasswdsync_write_htfile($groups, $file); + } _htpasswdsync_write_htfile($groups, $file); } /* generate the htpasswd content from the database diff --git a/README.txt b/README.txt index 9d99291..dc79cc1 100644 --- a/README.txt +++ b/README.txt @@ -11,6 +11,8 @@ For a full description of the module, visit the project page: To submit bug reports and feature suggestions, or to track changes: http://drupal.org/project/issues/htpasswdsync +The way password are encrypted it only compatible with *nix version of Apache. + -- REQUIREMENTS -- -- cgit v1.2.3