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