Decrease length of old tokens to 6 chars

[MAILPOET-2364]
This commit is contained in:
Rostislav Wolny
2019-09-17 14:25:15 +02:00
committed by Jack Kitterhing
parent 5cbcefbbb4
commit 7ea33310e8
2 changed files with 7 additions and 2 deletions

View File

@@ -674,7 +674,7 @@ class SubscriberTest extends \MailPoetTest {
function testItGeneratesSubscriberToken() {
$token = Subscriber::generateToken($this->test_data['email']);
expect(strlen($token))->equals(32);
expect(strlen($token))->equals(6);
}
function testItVerifiesSubscriberToken() {