This commit is contained in:
fogelito committed 2026-08-12 16:25:22 +03:00
1 parent 2d6581ccdb
commit a498b3e648
1 file changed
+3
@@ -1171,6 +1171,9 @@ class Deletes extends Action
TOKEN_TYPE_EMAIL,
];
// Current index is on {`type`, `expire`}
// Should be changed to use only {`expire`}
foreach ($types as $type) {
$this->deleteByGroup('tokens', [
Query::select([...$this->selects, 'expire']),