From 29fc26714874c314b71b4cdd6b25119f85c43819 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sun, 1 Sep 2019 23:10:47 +0300 Subject: [PATCH] Do not delete minecraft access token after its validation --- api/modules/authserver/models/ValidateForm.php | 1 - 1 file changed, 1 deletion(-) diff --git a/api/modules/authserver/models/ValidateForm.php b/api/modules/authserver/models/ValidateForm.php index 75370e2..bff97ae 100644 --- a/api/modules/authserver/models/ValidateForm.php +++ b/api/modules/authserver/models/ValidateForm.php @@ -26,7 +26,6 @@ class ValidateForm extends ApiForm { } if ($result->isExpired()) { - $result->delete(); throw new ForbiddenOperationException('Token expired.'); }