Changeset 1202 for plugins/httpPassword
- Timestamp:
- 06/05/09 13:25:03 (14 years ago)
- Location:
- plugins/httpPassword
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/httpPassword/_define.php
r1134 r1202 16 16 /* Description*/ "Manage .htpasswd file to make the blog private", 17 17 /* Author */ "Frederic PLE <dotclear@frederic.ple.name>", 18 /* Version */ '0.5. 2',18 /* Version */ '0.5.3', 19 19 /* Permissions */ 'httpPassword' 20 20 ); -
plugins/httpPassword/_public.php
r1134 r1202 62 62 list($cur_user,$cur_pass) = explode(':',trim($ligne),2); 63 63 httpPassword::__debuglog($core,'cur_user: '.$cur_user.' cur_pass: '.$cur_pass); 64 if ( crypt($PHP_AUTH_PW,$cur_pass) == $cur_pass) {64 if ($cur_user == $PHP_AUTH_USER and crypt($PHP_AUTH_PW,$cur_pass) == $cur_pass) { 65 65 $authenticated = true; 66 66 httpPassword::__debuglog($core,' OK');
Note: See TracChangeset
for help on using the changeset viewer.