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

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

No files matched your search

@@ -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;
}