Browse Source

关闭会员中心时,报错信息页链接跳转到首页

simon429 4 years ago
parent
commit
e7ae8fb4d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/index/controller/User.php

+ 1 - 1
application/index/controller/User.php

@@ -28,7 +28,7 @@ class User extends Frontend
         $auth = $this->auth;
 
         if (!Config::get('fastadmin.usercenter')) {
-            $this->error(__('User center already closed'));
+            $this->error(__('User center already closed'), '/');
         }
 
         //监听注册登录退出的事件