diff --git a/CHANGELOG.md b/CHANGELOG.md index 84517528..a59a261d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ -### [v1.5.7](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.7)(2022-08-28) +### [v1.5.8](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.8)(2022-08-28) + +- 整理migrations +- 更新自动安装脚本 +- 优化登录/注册/忘记密码页 +- 修复移动端首页课程缓存刷新 + +### [v1.5.7](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.7)(2022-08-18) - 清理群组残留 - 升级腾讯云存储SDK到v2.5.6 diff --git a/app/Http/Home/Controllers/AccountController.php b/app/Http/Home/Controllers/AccountController.php index 4efc598a..320cb9c5 100644 --- a/app/Http/Home/Controllers/AccountController.php +++ b/app/Http/Home/Controllers/AccountController.php @@ -148,9 +148,9 @@ class AccountController extends Controller } /** - * @Get("/password/forget", name="home.account.forget_pwd") + * @Get("/forget", name="home.account.forget") */ - public function forgetPasswordAction() + public function forgetAction() { $service = new FullH5UrlService(); @@ -167,9 +167,8 @@ class AccountController extends Controller $captcha = $service->getSettings('captcha'); - $this->seo->prependTitle('忘记密码'); + $this->seo->prependTitle('重置密码'); - $this->view->pick('account/forget_password'); $this->view->setVar('captcha', $captcha); } diff --git a/app/Http/Home/Views/account/forget.volt b/app/Http/Home/Views/account/forget.volt new file mode 100644 index 00000000..8056110f --- /dev/null +++ b/app/Http/Home/Views/account/forget.volt @@ -0,0 +1,42 @@ +{% extends 'templates/main.volt' %} + +{% block content %} + + {% set action_url = url({'for':'home.account.reset_pwd'}) %} + +
+ +