diff --git a/application/admin/controller/Index.php b/application/admin/controller/Index.php index cb84f624b..5a82a6247 100644 --- a/application/admin/controller/Index.php +++ b/application/admin/controller/Index.php @@ -72,11 +72,12 @@ class Index extends BasicAdmin { $_version = Db::query('select version() as ver'); $version = array_pop($_version); $this->assign('mysql_ver', $version['ver']); - if (session('user.username') === 'admin' && session('user.password') === '662af1cd1976f09a9f8cecc868ccc0a2') { + if (session('user.username') === 'admin' && session('user.password') === '21232f297a57a5a743894a0e4a801fc3') { + $url = url('admin/index/pass') . '?id=' . session('user.id'); $alert = [ 'type' => 'danger', 'title' => '安全提示', - 'content' => '超级管理员默认密码未修改,建议马上修改!' + 'content' => "超级管理员默认密码未修改,建议马上修改!" ]; $this->assign('alert', $alert); $this->assign('title', '后台首页'); diff --git a/application/admin/model/Node.php b/application/admin/model/Node.php index 214c1fc08..832107d13 100644 --- a/application/admin/model/Node.php +++ b/application/admin/model/Node.php @@ -37,7 +37,7 @@ class Node { $alias["{$vo['node']}"] = $vo; } foreach (self::getNodeTree(APP_PATH) as $thr) { - if (stripos($thr, 'admin/plugs') === 0 && stripos($thr, 'admin/index')) { + if (stripos($thr, 'admin/plugs') === 0 || stripos($thr, 'admin/login') === 0 || stripos($thr, 'admin/index') === 0 || stripos($thr, 'index') === 0 || stripos($thr, 'store/api') === 0) { continue; } $tmp = explode('/', $thr); diff --git a/application/admin/view/config.sms.html b/application/admin/view/config.sms.html index 6d8e193f4..442ac6366 100644 --- a/application/admin/view/config.sms.html +++ b/application/admin/view/config.sms.html @@ -33,16 +33,16 @@