mirror of
https://github.com/elyby/accounts.git
synced 2024-12-11 16:09:25 +05:30
27 lines
696 B
PHP
27 lines
696 B
PHP
<?php
|
|
return [
|
|
'components' => [
|
|
'user' => [
|
|
'secret' => 'tests-secret-key',
|
|
],
|
|
'reCaptcha' => [
|
|
'public' => 'public-key',
|
|
'secret' => 'private-key',
|
|
],
|
|
],
|
|
'params' => [
|
|
'authserverHost' => 'localhost',
|
|
],
|
|
'container' => [
|
|
'definitions' => [
|
|
api\components\ReCaptcha\Validator::class => function() {
|
|
return new class(new GuzzleHttp\Client()) extends api\components\ReCaptcha\Validator {
|
|
protected function validateValue($value) {
|
|
return null;
|
|
}
|
|
};
|
|
},
|
|
],
|
|
],
|
|
];
|