Page->IsValid) { $this->Response->redirect( $this->Application->getModule('auth')->ReturnUrl ?: NULL ); } } public function validatePassword($sender, $param) { $param->IsValid = $this->Application->getModule('auth')->login($this->Login->Text, $this->Password->Text); } } ?>