Skip to content

Commit

Permalink
Merge pull request #9 from vanilla/revert/drupal-password
Browse files Browse the repository at this point in the history
revert Drupal password
  • Loading branch information
OlivierLamyCanuel authored Nov 30, 2021
2 parents e614160 + 9e086e4 commit 966caa3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{ "name": "Tim Gunter", "email": "tim@vanillaforums.com", "role": "developer" }
],
"require": {
"php": ">=5.4.0",
"mdespeuilles/drupalpasswordencoderbundle": "*"
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "~6.0"
Expand Down
50 changes: 0 additions & 50 deletions src/DrupalPassword.php

This file was deleted.

10 changes: 0 additions & 10 deletions tests/PasswordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace Garden\Tests;

use Garden\Password\DjangoPassword;
use Garden\Password\DrupalPassword;
use Garden\Password\PasswordInterface;
use Garden\Password\PhpassPassword;
use Garden\Password\PhpPassword;
Expand Down Expand Up @@ -309,13 +308,4 @@ public function getPasswordClasses() {

return $result;
}

/**
* Test some edge cases of {@link DrupalPassword}.
*/
public function testDrupalPassword() {
$pw = new DrupalPassword();
$this->assertTrue($pw->verify('w_VkxdHRPjRJY7dgfGdb3q98', '$S$DKAFXs1HceSMqIllAL7GDC1/yl78icSWbCGtNCQaFpm3gpjSXYMT'));
$this->assertTrue($pw->verify('CSN@Vanilla', '$S$DScF4C6qIjwrGMmnl7Xqbjx9yPCQ3Jq5.1NnpP6ZlYWZPX9HebZo'));
}
}

0 comments on commit 966caa3

Please sign in to comment.