mirror of
https://github.com/elyby/accounts.git
synced 2024-12-04 20:49:48 +05:30
113b9f98d8
Добавлен метод getActiveSession Добавлена логика для функции "Разлогинить всех" в форме смены пароля
20 lines
535 B
PHP
20 lines
535 B
PHP
<?php
|
|
return [
|
|
'admin' => [
|
|
'id' => 1,
|
|
'account_id' => 1,
|
|
'refresh_token' => 'SOutIr6Seeaii3uqMVy3Wan8sKFVFrNz',
|
|
'last_used_ip' => ip2long('127.0.0.1'),
|
|
'created_at' => time(),
|
|
'last_refreshed_at' => time(),
|
|
],
|
|
'admin2' => [
|
|
'id' => 2,
|
|
'account_id' => 1,
|
|
'refresh_token' => 'RI5CdxTama2ZijwYw03rJAq84M2JzPM3gDeIDGI8',
|
|
'last_used_ip' => ip2long('136.243.88.97'),
|
|
'created_at' => time(),
|
|
'last_refreshed_at' => time(),
|
|
],
|
|
];
|