diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php index 2418ca02..78abe42e 100755 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php @@ -701,9 +701,8 @@ class RegistrationController extends Controller public function resetpwd02Action($key,Request $request) { - $moderegistration = $this->getParameter('moderegistration'); $masteridentity = $this->getParameter('masteridentity'); - if($moderegistration=="none"||$masteridentity!="SQL") + if($masteridentity!="SQL") throw $this->createNotFoundException('Permission denied'); $now=new \DateTime();