mirror of
https://github.com/elyby/accounts.git
synced 2024-12-25 22:59:53 +05:30
Do not delete minecraft access token after its validation
This commit is contained in:
parent
23a220637c
commit
29fc267148
@ -26,7 +26,6 @@ class ValidateForm extends ApiForm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($result->isExpired()) {
|
if ($result->isExpired()) {
|
||||||
$result->delete();
|
|
||||||
throw new ForbiddenOperationException('Token expired.');
|
throw new ForbiddenOperationException('Token expired.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user