public function actionRenew($token) { $row = $this->tokenProvider->valid($token)->limit(1)->fetch(); if ($row !== FALSE) { $this->tokenRow = $row; } else { $this->flashMessage('Link pre obnovu hesla nie je platný.', 'error'); $this->redirect('lost'); } }