Продублированы роуты для https запросов, пока не ответят в https://github.com/yiisoft/yii2/issues/12691

This commit is contained in:
ErickSkrauch
2016-10-07 02:02:51 +03:00
parent e87ccb75c7
commit 862c2d467e
2 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class Module extends \yii\base\Module implements BootstrapInterface {
public function bootstrap($app) {
$app->getUrlManager()->addRules([
"http://$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
"https://$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
], false);
}