mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
18 lines
416 B
PHP
18 lines
416 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core\Tests\Startup\ParameterConfirmationTokenTest;
|
|
|
|
use SilverStripe\Core\Tests\Startup\ParameterConfirmationTokenTest\ParameterConfirmationTokenTest_Token;
|
|
|
|
/**
|
|
* A token that always validates a given token
|
|
*/
|
|
class ParameterConfirmationTokenTest_ValidToken extends ParameterConfirmationTokenTest_Token
|
|
{
|
|
|
|
protected function checkToken($token)
|
|
{
|
|
return true;
|
|
}
|
|
}
|