Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#7334 from stefanotorre…
Browse files Browse the repository at this point in the history
…si/feature/http-basic-auth-bcrypt-support

feature: add bcrypt support to apache http basic auth
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/Adapter/Http/ApacheResolverTest.php
Expand Up @@ -38,6 +38,11 @@ class ApacheResolverTest extends \PHPUnit_Framework_TestCase
*/
protected $_badPath;

/**
* @var Apache
*/
protected $_apache;

/**
* Sets the paths to files used in this test, and creates a shared resolver instance
* having a valid path.
Expand Down Expand Up @@ -104,7 +109,8 @@ public function providePasswordFiles()
array( $path . '/htbasic.plaintext' ),
array( $path . '/htbasic.md5' ),
array( $path . '/htbasic.sha1' ),
array( $path . '/htbasic.crypt' )
array( $path . '/htbasic.crypt' ),
array( $path . '/htbasic.bcrypt' ),
);
}

Expand Down
1 change: 1 addition & 0 deletions test/Adapter/Http/TestAsset/htbasic.bcrypt
@@ -0,0 +1 @@
test:$2y$05$BYMNSHjpDGCMWb9Qpv6z3eGLenGdw9eXmWHBpBDZyCF7YKuKlfqKy

0 comments on commit 1d76601

Please sign in to comment.