Closed archagy closed 8 years ago
I'm not sure if there are way to disable registration via module like "enableRegistration => false".
Unfortunately there isn't. You'll need to extend the default controller, something like this:
public function actionRegister() { return $this->redirect(["/user/login"]); }
Thanks for the answer !
I'm not sure if there are way to disable registration via module like "enableRegistration => false".