update:更新初始化密码

This commit is contained in:
JaguarJack 2020-09-19 21:17:41 +08:00
parent 0cd799dce3
commit 5fa20a4f28
3 changed files with 5 additions and 5 deletions

View File

@ -16,8 +16,8 @@ class UsersSeed extends Seeder
{ {
return \catchAdmin\permissions\model\Users::create([ return \catchAdmin\permissions\model\Users::create([
'username' => 'admin', 'username' => 'admin',
'password' => 'admin', 'password' => 'catchadmin',
'email' => 'admin@gmail.com', 'email' => 'catch@admin.com',
'creator_id' => 1, 'creator_id' => 1,
]); ]);
} }

View File

@ -7,7 +7,7 @@ class CatchAdmin
{ {
public static $root = 'catch'; public static $root = 'catch';
public const VERSION = '1.0.0'; public const VERSION = '2.1.0';
/** /**

View File

@ -339,8 +339,8 @@ class InstallProjectCommand extends Command
| | | |
\ __ __ __ __ _ __ _ __ enjoy it ! _ __ __ __ __ __ __ ___ _ @ 2017 %s \ __ __ __ __ _ __ _ __ enjoy it ! _ __ __ __ __ __ __ ___ _ @ 2017 %s
版本: %s 版本: %s
初始账号: admin@gmail.com 初始账号: catch@admin.com
初始密码: admin 初始密码: catchadmin
', $year, CatchAdmin::VERSION)); ', $year, CatchAdmin::VERSION));
exit(0); exit(0);
} }