update: install default secure path

This commit is contained in:
tokumeikoi
2022-12-15 01:58:01 +08:00
parent e57c09438a
commit 0768392b24
4 changed files with 7 additions and 5 deletions

View File

@ -97,7 +97,9 @@ class V2boardInstall extends Command
$this->info('一切就绪');
$this->info("管理员邮箱:{$email}");
$this->info("管理员密码:{$password}");
$this->info('访问 http(s)://你的站点/admin 进入管理面板,你可以用户中心修改你的密码,请设置安全复杂的密码。');
$defaultSecurePath = crc32(config('app.key'));
$this->info("访问 http(s)://你的站点/{$defaultSecurePath} 进入管理面板,你可以用户中心修改你的密码。");
} catch (\Exception $e) {
$this->error($e->getMessage());
}