Добавлена поддержка запоминания языка для аккаунта

Обновлена минимальная версия Yii2
Удалено немного хлама от Yii2 Advanced
Исправлены некоторые тесты
This commit is contained in:
ErickSkrauch
2016-05-13 12:03:00 +03:00
parent 65382fa1ce
commit ecd92b8fda
22 changed files with 175 additions and 124 deletions

View File

@@ -1,15 +0,0 @@
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $user common\models\Account */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
?>
<div class="password-reset">
<p>Hello <?= Html::encode($user->email) ?>,</p>
<p>Follow the link below to reset your password:</p>
<p><?= Html::a(Html::encode($resetLink), $resetLink) ?></p>
</div>

View File

@@ -1,12 +0,0 @@
<?php
/* @var $this yii\web\View */
/* @var $user common\models\Account */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
?>
Hello <?= $user->email ?>,
Follow the link below to reset your password:
<?= $resetLink ?>