diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 112a1f9f..098bdffa 100644 --- a/application/index/controller/User.php +++ b/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'), '/'); } //监听注册登录退出的事件