Исправлено поведение при обновлении устаревшего токена

Обновлена логика в компонентах для работы с ключами redis
This commit is contained in:
ErickSkrauch
2016-11-29 01:57:58 +03:00
parent 1e94cda399
commit 5f07834f45
8 changed files with 83 additions and 51 deletions

View File

@@ -19,7 +19,7 @@ class AuthCodeStorage extends AbstractStorage implements AuthCodeInterface {
* @inheritdoc
*/
public function get($code) {
$result = (new Key($this->dataTable, $code))->getValue();
$result = json_decode((new Key($this->dataTable, $code))->getValue(), true);
if (!$result) {
return null;
}