// Change email
$('#changeEmailSave').click(function () {
var email = $('#changeEmailValue');
$.ajax({
type: "POST",
url: '/entry/?v=2',
data: { 'email': email.val() },
success: function (data) { validResult(data); }
})
});
$client->request('POST', $router->generate('tag_create'), ['name'=>'name', 'color'=>'A4A4A8'], [], ['HTTP_Authorization' => self::getJwt()]);
$this->assertEquals(201, $client->getResponse()->getStatusCode());
$this->assertTrue($client->getResponse()->headers->contains('Content-Type', 'application/json'));
["user_email":"App\Entity\UserData":private]=>
object(App\Entity\User)#878 (10) {
["id":"App\Entity\User":private]=>
int(40)
["login":"App\Entity\User":private]=>
string(7) "Jack007"
["email":"App\Entity\User":private]=>
string(12) "qwe@qwe.qwes"
["user_email":"App\Entity\User":private]=>
*RECURSION*
["password":"App\Entity\User":private]=>
string(60) "$2y$13$LdyQSjcP1g65GegEUcKP0OEbdKEwAlCaWECB0AXZ2u9fG1m8lS3Cq"
["plainPassword":"App\Entity\User":private]=>
NULL
["roles":"App\Entity\User":private]=>
array(1) {
[0]=>
string(9) "ROLE_USER"
}
["_entityName":protected]=>
NULL
["_em":protected]=>
NULL
["_class":protected]=>
NULL
}
["container":protected]=>
NULL
}
Preparing the "docker+machine" executor
00:18
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Job failed (system failure): exit status 1
Preparing the "docker+machine" executor
00:18
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Preparation failed: exit status 1
Will be retried in 3s ...
ERROR: Job failed (system failure): exit status 1
NOW() >= session_lifetime
- тогда удаляет, как вы видели. Сессии разных пользователей имеют разное время окончания, тк стартовали в разное время. Поэтому я написал этот вопрос