|
@@ 284-287 (lines=4) @@
|
| 281 |
|
$this->flashMessenger()->addWarningMessage($this->translate("user could not be found")); |
| 282 |
|
return $this->redirect()->toRoute($config["zfcuser_registration_redirect_route"], array()); |
| 283 |
|
} |
| 284 |
|
if (($oUser->getState() != 0) || ($oUser->getToken() != $token) ) { |
| 285 |
|
$this->flashMessenger()->addWarningMessage($this->translate("confirmation token is invalid")); |
| 286 |
|
return $this->redirect()->toRoute($config["zfcuser_registration_redirect_route"], array()); |
| 287 |
|
} |
| 288 |
|
|
| 289 |
|
// all ok, do stuff... |
| 290 |
|
$oModule = new AdminModule(); |
|
@@ 343-346 (lines=4) @@
|
| 340 |
|
$this->flashMessenger()->addWarningMessage($this->translate("user could not be found")); |
| 341 |
|
return $this->redirect()->toRoute($config["zfcuser_registration_redirect_route"], array()); |
| 342 |
|
} |
| 343 |
|
if (($oUser->getState() != 0) || ($oUser->getToken() != $token) ) { |
| 344 |
|
$this->flashMessenger()->addWarningMessage($this->translate("activation token is invalid")); |
| 345 |
|
return $this->redirect()->toRoute($config["zfcuser_registration_redirect_route"], array()); |
| 346 |
|
} |
| 347 |
|
|
| 348 |
|
// all ok, do stuff... |
| 349 |
|
$oModule = new AdminModule(); |